Results

By type

          2022-03-22 12:09:04,289 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-03-22 12:09:05,068 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-03-22 12:09:05.770  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 22, 2022 12:09:07 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 22, 2022 12:09:07 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 22, 2022 12:09:07 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 22, 2022 12:09:07 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-22 12:09:07.791 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-22 12:09:08.062  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-22 12:09:08.190  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-22 12:09:08.758 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-22 12:09:08.762 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
2022-03-22 12:09:08.764 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-22 12:09:08.768 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-03-22 12:09:08.812 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-03-22 12:09:08.815 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-03-22 12:09:08.913 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-22 12:09:09.524 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/]]}
Mar 22, 2022 12:09:10 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-22 12:09:10.437  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.759 seconds (JVM running for 8.314)
Mar 22, 2022 12:09:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-22 12:09:51.659  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-22 12:09:51.668 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-22 12:09:51.707 DEBUG 1 [nio-8443-exec-2] .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-03-22 12:09:51.713 DEBUG 1 [nio-8443-exec-2] .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-03-22 12:09:51.729  INFO 1 [nio-8443-exec-2] .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-03-22 12:09:51.731  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-22 12:09:51.732  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-22 12:09:51.733 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-22 12:09:51.733 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-22 12:09:51.737 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-22 12:09:51.743 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-22 12:09:51.747 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-22 12:09:51.783 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-22 12:09:51.793 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-22 12:09:51.794 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-22 12:09:51.797 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-22 12:09:52.583  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-22 12:09:52.587  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-22 12:09:52.588 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-22 12:09:52.590 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-22 12:09:52.602  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-22 12:09:52.604  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-22 12:09:52.605 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-22 12:09:52.606 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-22 12:09:52.607 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-22 12:09:52.621 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-22 12:09:52.622 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-22 12:09:52.622 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-22 12:09:52.631 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-22 12:09:52.632 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-22 12:09:52.632 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-22 12:09:52.635 DEBUG 1 [nio-8443-exec-2] 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-03-22 12:09:52.660 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 578087886275641290733208277295003753648093608651
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 22 12:06:59 UTC 2022
           Final Date: Sun Mar 21 12:06:58 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [a2:8e:99:7c:01:4e:05:31:fe:8e:5b:6e:6b:91:0d:9e:bd:de:69:0d]
            modulus: 8537e2c6028ca046e36e66544fdb42d92403fc832866b606ece5a2dd8b304aaed27d813c0309eca3728431ede14c0438d86423583e6beef3bc17f0d80035502a12d062cac55fa26294159746db9ffe7a88dad0ea48b789fd1672e82309069a2da49d4e76f8aed24d00ca46b3c9ee6c241bb33fdcb247e307c805ca4c616337143dfc71c41dd1a893d693e3d336c446b2207575d48627d1f55dc523bee747c08f7f35d8d917ed6977d2c2a07d16f54e8f2a7e3c6cf702811357514e267b76bd2ced3a7e59007071030d51e1529c5cf586257f348aceb31408adf4f648335c404d2760b346d2a28b190f453ea34a9475357a9a577c314f6a80d9af3b0f25ff2ade431b23ee872863e94115951a0c130d4493a942a0ddb6402202b2a1c006085db67b8b049d91447ae32639677d240c5b694f06df3a9746bef259b55d93c6386b969deab69d87882a75f78f0a06cffd5501ee9d88aa99b84791fc2a26835cd6025edac1777aa8f937cb62973ee79acee8d44e91236c0e34dd00df42932289b993e1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 62dd420a918e391b0561d304330379c79a608573
                       af6469eb51bb86921c3e040524b44bbff5156ae8
                       42c3b3d1746c8bd705cde33bfc5459e430a15ddc
                       ffa51064f53b8ce4cb7f71ac2a3e0be596d0d26f
                       db3f97a72708b3de11adc2becba5b68ff477b872
                       2eacade746ce2b2f0df435e85f5dacd59f8600f8
                       f6e487b619a2bacb001f31b0df6844de45fe8e44
                       f0cb39ef23cf6137c5ca6e964e5063e4e36079e3
                       8d8c9b6e6e2915b2711a346b714d3219712610e9
                       ef766686189fbfeffb840d886053023aa767ab66
                       f805719849f833b597ba49ed7c02e95e76946d4f
                       2b7d3c847648c09394712f97fd59325883c4fb42
                       f7fdc636df8ad8598f0797d344b2c9a7f27fb892
                       c1bcf8aaa698015f2d83df7c092e297c05674faa
                       f4d099702ef358cbeb64585a9ac304317070c4ff
                       848ce6088d5c4b23d07f72a59360e5cb6c1db2bc
                       8e6a81509445bdb382a12174e1516a1a98e10679
                       fa7dc2d3e6fd4f126c22948ccb220580abeb61aa
                       10c013c3ed1bd324bea0c757163558480f07e01e
                       6963a506
       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 [c4:91:de:19:32:97:e7:27:42:af:f0:64:fe:c0:a3:69:0a:01:bd:23]
            modulus: ed797e093ca0f5a601d98e836b3e1f1c63ffb8a55a51b31bb9c33007b028b46ef9af088c1b960d16acc728777d4e845bc25d0ce51626d5f526369858154460ba416825b133d94bf5530e12e041cf77e6221fe7fcdb432c4c20fea88ab3d400e537ab07acb167fd08aa6cc8a42bbbc25abd47ff1dca8e232ddfbaf6bd2ab025afc2fe0914f2a70d47f26768637365a197dc0f6d60fe2dfc3fee8fde281c5cbb3dad6d42a08f12739353db632ca0a776187eb4113c68a2b530424a0d14277ac5f5aa714e24077db476457e05889b3c96f99036281b2fc6e41352cc9c16b8a752099bb12a5a61ff151b4d6547d1f5332f2c506949527fed21a82f26f0e2a54cf35b
    public exponent: 10001

]