Results

By type

          2022-05-27 09:45:19,455 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
2022-05-27 09:45:20,295 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.8)

2022-05-27 09:45:21.024  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 27, 2022 9:45:22 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 27, 2022 9:45:22 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 27, 2022 9:45:22 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 27, 2022 9:45:22 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-27 09:45:23.434 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-27 09:45:23.715  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-27 09:45:23.873  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-27 09:45:24.636 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-27 09:45:24.639 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
2022-05-27 09:45:24.641 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-27 09:45:24.647 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
2022-05-27 09:45:24.697 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
2022-05-27 09:45:24.702 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/docs]}: redirectToUi(HttpServletRequest)
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
2022-05-27 09:45:24.872 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-27 09:45:25.544 DEBUG 1 [           main] o.s.w.s.h.SimpleUrlHandlerMapping        : 'resourceHandlerMapping' {/webjars/**=ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]], /**=ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]], /**/swagger-ui/**=ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]}
May 27, 2022 9:45:26 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-27 09:45:26.361  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.627 seconds (JVM running for 9.369)
May 27, 2022 9:45:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-27 09:46:03.054  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-27 09:46:03.063 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-27 09:46:03.106 DEBUG 1 [nio-8443-exec-4] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=sdnc.simpledemo.onap.org }, SANs: [sdnc.simpledemo.onap.org] }
2022-05-27 09:46:03.110 DEBUG 1 [nio-8443-exec-4] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 
Cmpv2Server{authentication=Authentication{  iak=*****, rv=*****}, caName='RA', issuerDN='O=EJBCA Container Quickstart,CN=ManagementCA,UID=12345', url='http://ejbca:8080/ejbca/publicweb/cmp/cmpRA'}
2022-05-27 09:46:03.127  INFO 1 [nio-8443-exec-4] .o.c.c.CertificationResponseModelFactory : Sending initialization request for certification model for CA named: RA, and certificate signing request:
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=sdnc.simpledemo.onap.org }, SANs: [sdnc.simpledemo.onap.org] }
2022-05-27 09:46:03.129  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-27 09:46:03.130  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-27 09:46:03.131 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-27 09:46:03.132 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-27 09:46:03.135 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-27 09:46:03.141 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-27 09:46:03.144 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-27 09:46:03.187 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-27 09:46:03.194 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-27 09:46:03.195 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-27 09:46:03.199 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-27 09:46:03.960  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-27 09:46:03.963  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-27 09:46:03.963 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-27 09:46:03.965 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-27 09:46:03.976  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-27 09:46:03.977  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-27 09:46:03.978 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-27 09:46:03.978 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-27 09:46:03.979 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-27 09:46:03.993 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-27 09:46:03.994 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-27 09:46:03.994 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-27 09:46:04.000 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-27 09:46:04.001 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-27 09:46:04.001 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-27 09:46:04.003 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Verifying certificate CN=sdnc.simpledemo.onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
2022-05-27 09:46:04.033 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 510849681982371889938408333538309556451425826738
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri May 27 09:42:23 UTC 2022
           Final Date: Wed May 26 09:42:22 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [34:32:68:bd:f5:18:42:03:d6:5f:d1:6c:a8:93:6f:dd:0e:97:bd:a5]
            modulus: aa6330b4cdcf3a0c5579696448a9caf1b9181c12aad6c56409c78b870344bc81cb6b93c9ba580a6422a9efaba472829c01914b61f0e3b5978562d60b9f29765a234f2eb804cce6e8bbdd8322bcd083a5403db0031dfae9e2f5834de81b338a518a480687fc83104aa38d2343e891a7702d1a3cb9f7c5d9f54bcaa1e6fcefd33e20d26798e7c97e21f0fbde19f2481f301b8077a65cf8bab7f0d4ab2df801dd79ac3221e2e7b2dc4b0a8de67c2cfc4ea261a2f88c9dfbe7793c150c28fcf5787da5c44b6604eb47ec568b2d5e28f27a9f96ea5ee50f4ab0d95c56150d87d8a6cb7649e7f2d4ec0183a43c9bff6877e2027dc73b4aa43c797e46b70237042232a83422e2b64020ad724cf1613e1f28438efadb2005411afd10fafb5c60a09f91ce036d18d92ded0d0721d0baf225f574343ad18122166c4a225aed81ce4a3caa2dd22de52f15df965da3507155a9f51114a90c4a553fdff2ec864c6352a5903686f9ee58af3571222b76c842a855a6e627fda1105447355f51c275482c7cfcd005
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 617e1ec2e688e3e073cce811ad427a23599ce36b
                       be542236d76c75101fe0a69e6fe3313b44cd387a
                       90678a36aa6644b094b5e394963e2dd8d8bd241c
                       cb37e157d6a5f56b506e91f8af392e4bbb521e26
                       5f3cfabe29ea6395b5045e53f61dc5b68342d513
                       69e071b2c13b83b6b11614c836cbcd7721eaf6fe
                       4715cadc30cbd2a2cd928aee46b87ff7991120c2
                       1b38536e7710c1f7e776dc1a818d93cc8603e338
                       b583f8ef2f1a852b3493407fb082ed20279174de
                       fab406d14b4823af1f74d403f9b6ae60daefad41
                       8f10884b436e43ab9e373706f6fc5b86256438c9
                       8ac797c3210c7fc76cb76491a7b32772acf65208
                       0bd2e28946a4473ef78cbcb18055433886ec2b61
                       9831bbbfd9c4d940cce19b38814deac789726bd8
                       e0857adf0fe97070ef2de133f01870f26a2c5603
                       2f10a5e59376a92237b5eebf3e5fa455b970e659
                       20fe607ca877815b98b4cd3e61d09e4be0aa8979
                       12cff3df2bb07c0c9c128a4164aa5c92f8373b0a
                       e7f52961127fe05cd7ae922849b9e1629b9cb392
                       d5a43dbc
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [0] IMPLICIT 
        DER Octet String[20] 

                       critical(false) 2.5.29.14 value = DER Octet String[20] 

                       critical(true) KeyUsage: 0x86


  Policy Tree: null
  Subject Public Key: RSA Public Key [d0:eb:61:e0:34:cb:d4:00:72:30:64:8b:aa:b0:19:b9:c8:ce:f5:71]
            modulus: d4ab8a803c3ff2c4bd8ae4a0ffc0ea162edc8c14bc97c119e23b2aac80d92c773cec778f6e061b1577c2bfd437df4e2dc161cc67869fb65e32db92edcc864370afb4430ff9c4402e5e4bcab765fa31b665833134b98eba0361db44a527e984afacaab4e4f78a3b3058e1c9faaed359c77d9f1c6c5395c2c319efd076fc4fb1dd4670d5b608f09db0640f81b661bb6223f5eb6be558f9feac5ec0521f93543365262f946c6e8ce68dc65a33ee4395d3eafd0ea32b51a97391a78aea9bda64e753ae2b48d3ce1a70aae5fa8eab118066c638bc48e6f32da43a3782bde0391fc3fb1ddedec0991f5958db8e75d492dee3ca93324559c2e8a345b0cd199e2482dc6d
    public exponent: 10001

]