Results

By type

          2022-01-23 00:44:49,693 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-01-23 00:44:54,892 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-01-23 00:44:58.303  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jan 23, 2022 12:45:09 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jan 23, 2022 12:45:09 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 23, 2022 12:45:09 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jan 23, 2022 12:45:09 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-01-23 00:45:11.893 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-01-23 00:45:13.301  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-01-23 00:45:14.186  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-01-23 00:45:17.592 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-01-23 00:45:17.594 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-01-23 00:45:17.595 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-01-23 00:45:17.597 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-01-23 00:45:17.881 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-01-23 00:45:17.887 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
	{GET [/docs]}: redirectToUi(HttpServletRequest)
2022-01-23 00:45:18.500 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-01-23 00:45:23.885 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/]]}
Jan 23, 2022 12:45:27 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-01-23 00:45:28.788  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 42.692 seconds (JVM running for 51.114)
Jan 23, 2022 12:45:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-23 00:46:34.688  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-01-23 00:46:34.782 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-01-23 00:46:34.895 DEBUG 1 [nio-8443-exec-6] .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-01-23 00:46:34.899 DEBUG 1 [nio-8443-exec-6] .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-01-23 00:46:34.992  INFO 1 [nio-8443-exec-6] .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-01-23 00:46:34.994  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-01-23 00:46:34.995  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-01-23 00:46:34.996 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-01-23 00:46:34.996 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-23 00:46:35.081 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-01-23 00:46:35.092 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-01-23 00:46:35.096 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-01-23 00:46:35.383 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-01-23 00:46:35.387 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-23 00:46:35.387 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-23 00:46:35.390 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-01-23 00:46:36.709  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-01-23 00:46:36.711  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-01-23 00:46:36.711 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-01-23 00:46:36.713 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-01-23 00:46:36.719  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-01-23 00:46:36.719  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-01-23 00:46:36.720 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-01-23 00:46:36.720 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-23 00:46:36.720 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-23 00:46:36.789 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-01-23 00:46:36.790 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-23 00:46:36.790 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-23 00:46:36.796 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-01-23 00:46:36.796 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-23 00:46:36.878 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-23 00:46:36.881 DEBUG 1 [nio-8443-exec-6] 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-01-23 00:46:36.993 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 603834485849816018639340455425856805651012763385
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Jan 23 00:41:33 UTC 2022
           Final Date: Fri Jan 23 00:41:32 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [27:75:f2:2d:dc:f6:fd:91:55:cf:d1:2a:3f:b6:7d:62:e3:4b:60:64]
            modulus: 8dacc2ce6e08fc1869aee1d5ab96221fdf701b6fca9bf3d6f8214a195e832d56dfeb5b7149db1b4b9190c2cf388187d3c2d26d7ce9e79851e2cad354903316dcb7f2fe33a56dff511d62522dd951389dc7a511acbeb70cb70bce0de26d2b3da00777a5620670760de324c0c287b2ed69337e317e75a41241628b7144373a1092f8af6be6bf2074790c76aed79ee8e3129e3b169e5d04956ebc0bb2d9ad5cde637e3ed908f77de479dc997f3330e85bb5c281ea34fe9ba151256e2865003cd18645b9a3963a21c69f2aa88bce13fa60b284614fc5acb8a37f14db6a14538ff6e86b9a4dd4c2774e4709bd85c15fef3d940593d5f795d1b4938b0555b3bf999cf5869d7b6505af3cec4f23e85f612f1ed645a1042ac7b1aeafa0d0a056f1c463a853d9b25e21407109046091a59fe7c144b011b805bf1b7dc5d0cd1da2ea09cbb520e76e71ff566aa18f03c9af1e4db54ca3fb9fdfbc34ae1d5df319e8e25c26dbd7ccca40537ed84abc2e1a08a7fe4deadbb6cc88ce6e2f490085b439aa60a39f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 6bdbc21bc3e8ff0483499779fa5578de82fc1ffb
                       ad4c7c6bc45019bc323eb0cb1bce1b6cb793b35b
                       208847db663264134550a9f7a7d29118a3695e52
                       34678308fcff0d6b36a631fbc1c7700ccbed9314
                       95a8bebe75c79a5789ba37497b022b7c68350927
                       b86a8ee6809e06c5f7ecf72e528d07a461e6a0b4
                       fa7b953ffc5b38b616cada31bd30167733b504a3
                       042b73c64b79f8d6f6c594f49c3a148bebd89ffa
                       b18a583fc87a248f574c72de9502016b2b1732f9
                       87c3eaa3088110b145478ba7125296d0798054df
                       a06b572cbc728ae2e04e928dc1815f8912745787
                       9504225f944aa3ab4ab5c1c8f130415c13aabd95
                       b9a6e85e3d5c0ac369b841681912d3a3198973f7
                       3b2f9a5e4813740e054f54ffb13c0b3e412190b0
                       ebd9215bcd73e1285bc4c8d9808fde5b03d2e038
                       824a05187c96b21e3810d670d984ec25a15ceef4
                       0b45243ff09529967f255250669367d48b418dd3
                       6a61c75f067164f6e686a00952edf762093c66db
                       ab4fb617d123d57cd511e8fc85de6660e2398adf
                       5fcc992d
       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 [df:91:39:32:dc:96:1b:ed:9e:5a:8a:f9:11:d1:b5:14:fd:9c:4e:53]
            modulus: a26ce701efda536673e10822257912e821ed0b00473ab61b3a9bab9565b43be10b771cf942a17feb35976b18dc42fc3ecf22d69552f15e27963aa1030ccf41c90e64df7221ebd9cb33a6584170e6d52da689e398431efbe3267ddfc89b0cfbe69b3bee27bcb42f0927b191e829f1fd0ac0439934f1b7236998f30d64444630f78636fdea92effad488be2ba379b8a14445f5e5bd5668ee7054ce9ed448792daed425e679736effc922ff9d529041ec09b82c64af0ba53f4f7251b3e82a9b12a803bc1238daf64841b3d3f6cf8fc019978cee90df242051c31ac1abd9e26f8ac0956067467888192868e753c780d4c2359ef7e2cc353e94c27d4fa5386bcb8281
    public exponent: 10001

]