Results

By type

          2022-04-21 03:06:27,298 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-04-21 03:06:28,409 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-04-21 03:06:29.164  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 21, 2022 3:06:31 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 21, 2022 3:06:31 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 21, 2022 3:06:31 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 21, 2022 3:06:31 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-21 03:06:31.873 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-21 03:06:32.184  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-21 03:06:32.405  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-04-21 03:06:33.253 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-21 03:06:33.257 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-04-21 03:06:33.259 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-21 03:06:33.263 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-04-21 03:06:33.305 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-04-21 03:06:33.309 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-04-21 03:06:33.440 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-21 03:06:34.056 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/]]}
Apr 21, 2022 3:06:34 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-21 03:06:35.121  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.727 seconds (JVM running for 10.437)
Apr 21, 2022 3:06:56 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-21 03:07:12.609  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-21 03:07:12.618 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-21 03:07:12.656 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-04-21 03:07:12.661 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-04-21 03:07:12.678  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-04-21 03:07:12.681  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-21 03:07:12.682  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-21 03:07:12.684 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-21 03:07:12.684 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-21 03:07:12.688 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-21 03:07:12.694 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-21 03:07:12.698 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-21 03:07:12.746 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-21 03:07:12.751 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-21 03:07:12.752 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-21 03:07:12.757 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-21 03:07:13.282  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-21 03:07:13.285  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-21 03:07:13.285 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-21 03:07:13.287 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-21 03:07:13.297  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-21 03:07:13.298  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-21 03:07:13.299 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-04-21 03:07:13.299 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-21 03:07:13.299 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-21 03:07:13.311 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-04-21 03:07:13.312 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-21 03:07:13.312 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-21 03:07:13.318 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-04-21 03:07:13.318 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-21 03:07:13.319 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-21 03:07:13.321 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-04-21 03:07:13.349 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: 275281790773611418218960573157412674092350167217
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Apr 21 03:04:06 UTC 2022
           Final Date: Tue Apr 20 03:04:05 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [e7:16:c2:d5:be:ac:70:c4:d2:d6:ff:16:a6:a5:9c:46:02:47:f3:a2]
            modulus: e1801d44f2f1df67242212874d13a2654143ea7dc14ea6d5688631c940141ecb5ad29609d71f06c8cd8caf403ba8091fe864014d00e3fa51d3ea1ab876af54288832a4bddf5c3af3d80b6c7230fbad8583b4044bf15ead87b516d193642da8cdae95dadf06376f30b1083b50b78f256cd761eca1cbf098e617dd01a941ecbae7eb83a396871462656ec949af7660d688a5c80f5eebc87d05ba9b2f8decd90ca0a9c83ff3ff110160e7c5da44ff18721a4c87d044f939a55fbb065ad9db87acdec36ac3f3bc51e4342b62da70de7a973f2a9c1f94d00bebf5c36f2e5c18fc906d834d455c7ad657f07b8c17649c6d0311e850db3779537c16d618694326f98a9446101642f812a7fd0983870e178d2e29adc21d464c12c5ba25a8fe3616d56b3699d87666437323547cd0cf5d67edaead9108b42176e16098c37b1aba3184c6e2a75625ae9a77c8ce05403edc1cea4c76366e174f221609297698dc5c0ec54667ab77579832b91c99796909f707d2343fb407942eb61142fc6ce6a40dd1263e0b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 59dbd9674f7d800007a506105b9363d32e55f68d
                       f2579abbe16773cc5185b57b6480832fccf75e8c
                       a45b326cd3f1f43a95097c1dfdcccfad934a1caf
                       140a6c7c838d6b22354db695b5c54e476b446546
                       1fead9e542338e8c2217599b237b217836706603
                       690e28b226917306280088fcae4a2d86ac1d775b
                       11ed661bfb7fc83ed98c5d551960562d4c34ce0c
                       7695f688b2d6e1e50f4f368666e1a64753d2fab1
                       ef34f78dd1dec94a358f895e733b869d8376aaf9
                       c6fbd325d410f3d8bf2f8287c7f630574e357aa4
                       6801258f94d855570d779aad37fc245b37d65700
                       77c0de280a72be39eb838e4a9a2fb896696c53d8
                       690920a39c6f105632041e0f097cc981c5850f52
                       e84f1b7b36cf74558b4c124ac47d8a2ba3e243ea
                       ce4f5a6ff9663dc3533c0a7a08a3421f256b613b
                       bfe1e5259e9942feebfe4f641e9c92370ad0db42
                       52f09b838ad42005d3f1d2208d5dca6e8647fe60
                       02660f35990e1b20d2b875d5a8133d12bdf0ac2f
                       29dbe149e22ccc544b32a254765dcc8b6e439a5a
                       2399ab9a
       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 [b0:f0:39:e1:12:6a:eb:56:c2:e4:13:74:99:9a:7f:20:ea:85:46:57]
            modulus: b9945334b586374869df42f69a2aa5c968718eea529ec58fe0c506e9bce3116715d69ed26aad3f460a08e0e220dd395e0608db7534d5001d62d877095d5f451fa639484032b13a4b7de104c8780956de0da15469d79bdb52016bdd9d25abfc11e34705b7084f297c4881faac22882e443b4d5a00fe26ba91e85b3d109da1aedf5c39c2409afe7651f44b274dc7b9447447859ad64b31c26f3ebe2d3784945ed5cf61fed81323feb5f84a78f1cdf6332ca3a540ddd794254657773ad9641348b686a8ae87a54bb4f2bb1e7001a84ca9c475a14eccf6f3b487922c9dd61e082f7b6c1c8f60c8b328c1100a8be16bcc1f26853788c8434502b9081e355baff0c123
    public exponent: 10001

]