Results

By type

          2022-03-12 02:43:48,882 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-12 02:43:52,976 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-12 02:43:55.369  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 12, 2022 2:44:03 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 12, 2022 2:44:03 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 12, 2022 2:44:03 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 12, 2022 2:44:03 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-12 02:44:05.086 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-12 02:44:06.173  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-12 02:44:06.775  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-12 02:44:09.390 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-12 02:44:09.465 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-12 02:44:09.467 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-12 02:44:09.470 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-12 02:44:09.589 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-12 02:44:09.591 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-03-12 02:44:09.999 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-12 02:44:13.880 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 12, 2022 2:44:16 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-12 02:44:17.666  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 31.615 seconds (JVM running for 38.021)
Mar 12, 2022 2:44:22 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-12 03:34:18.158  INFO 1 [nio-8443-exec-1] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-12 03:34:18.166 DEBUG 1 [nio-8443-exec-1] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-12 03:34:18.199 DEBUG 1 [nio-8443-exec-1] .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-12 03:34:18.202 DEBUG 1 [nio-8443-exec-1] .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-12 03:34:18.281  INFO 1 [nio-8443-exec-1] .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-12 03:34:18.283  INFO 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-12 03:34:18.366  INFO 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-12 03:34:18.368 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-12 03:34:18.369 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-12 03:34:18.373 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-12 03:34:18.379 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-12 03:34:18.382 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-12 03:34:18.493 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-12 03:34:18.568 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-12 03:34:18.569 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-12 03:34:18.573 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-12 03:34:19.822  INFO 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-12 03:34:19.824  INFO 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-12 03:34:19.825 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-12 03:34:19.826 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-12 03:34:19.834  INFO 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-12 03:34:19.834  INFO 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-12 03:34:19.835 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-12 03:34:19.835 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-12 03:34:19.836 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-12 03:34:19.878 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-12 03:34:19.878 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-12 03:34:19.878 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-12 03:34:19.883 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-12 03:34:19.884 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-12 03:34:19.884 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-12 03:34:19.885 DEBUG 1 [nio-8443-exec-1] 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-12 03:34:19.989 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 573044604590068469907042436529735552985987029738
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Mar 12 02:04:56 UTC 2022
           Final Date: Thu Mar 11 02:04:55 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d8:1f:e4:b5:18:71:76:5a:41:62:9a:d9:f1:0a:9a:bc:f3:d1:7e:55]
            modulus: b9aec97ee34496a7b566756aa788a15d9a2e54864ca376af3249eeeb41b295a5b7c2d21df90494294dfeddd86af04859318519f964756126a1998d4e46bfb5423acf492d36fa573f3a18ea87b056eb094ade95ce5d325f6a61a7d29a2996a6b035602b5ae7ec6b01262c2561293ed7fa21e71ecadf6d2fe4f32dd4d7ab4e11ca6c3dc0a9ed72119554db22010ffff0cbb8bdf0ab40b5b70eaecc6b20d149b040719a34f0dec7ac592f6f1844378f83fd21f493377c28106e0f1705b1e042a7d495c3231ab29ef0eae8828997c358eaac2dda34085511edd8d887259deb6c81a9fda5f8a5d2136643bd81e867f7ea352c96557e309e62a316d288e48743d1b972d9ab315739f99abd843044e2f8baed870dca8795e6c5fbba66439b37115f56564897697b229017e8bb54c07e742a72856cfb9c9fc86cf6568c965174230dc582edcd29c4f53c4d89a574f1315efc01adf5e7961d794726d06cdcc3c115f3f46fd71ee4e4d01ca452a6efeed500aa1fbf2d4f930efd4a1f936aafb15dab5031bb
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 4ffa7012f38a1c5d981afe9f58ed5c58fb7b0319
                       a564348cd10a67bde90bbdf391bde5e229428d46
                       fcc2e1f084901e1a39040fc92e0b5d6f658031b2
                       437dd171d5415a083eb3958bf404c1d71ca87993
                       14a0d9c9381d9db10cc62aafbf82657a2e015103
                       bd53f2a2978ec96f43f35d523ecc35c6aa949296
                       e7c7f9b21be798912e289728741d6ca38482c6a3
                       e40424d6e18aeadc9f281969f2d14f42e6fad658
                       3490afc9a17e37696841c981a7a177d781b10d05
                       9e00eafe90ad11c4581cc7fab9c00ade4ba8889d
                       7328cbf0fc78926ee22455da6c5ca32aa9f06066
                       0ab02046009033d04ebf45fca5901dce00e8060e
                       adbdaadb8656ef9c1579e91dc007496c6fd56024
                       bb7f4358d58460f8d79b4ddc344daed918ac8d53
                       01364afd5002d0c754796a9e8d958857cdecc9e4
                       27103a73cd4c944df9216c82d96f0b0ff597cb9e
                       21e324d25255ae6eaacf6748c64b576c9f88fece
                       fec1f0cf757eb2c803f096f2003cbfe5b7920390
                       639432e39c5a2655cbc5a05fb48c2c74bd77f807
                       c11400c4
       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 [e5:5c:7a:8f:3a:3d:bc:7d:aa:11:e9:a4:27:65:1f:37:b8:9d:2a:06]
            modulus: bafa8551731a0dc325b9aaab4e924c0230d02fc50426042b6518cb3d81c40f9dcad221f3ebd48aa1d99145887c589876ad7f189a6ec7c1ea6ab7ea3ec7983b3207a07d793cf754ba6f124368415c515be2a4b848e1a101e54ea7ecfc9a1a905c652e10ace9a97a01b1ef6bddf297537c3cda9b14f495dd7e4e99ddb69dfbb67c4249a2a4da0600df8e92f42bd23f96acc84c34282c7031e9f51a3d4bd80fe1d9040ff00da60811203f9410c61e9d0b8e95c8d307cacca88459a9ccdbe7ec0a00e28695623ce87cc00815873cfd7e0b5cfe9aea29d797199d53abf654c9378597d048a59cb52a5b19a30494d9e3f9cf949e783999e27a2da2d32f36f13923f739
    public exponent: 10001

]