Results

By type

          2022-11-27 05:01:42,117 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-11-27 05:01:43,727 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-11-27 05:01:44.479  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Nov 27, 2022 5:01:46 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Nov 27, 2022 5:01:46 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 27, 2022 5:01:46 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Nov 27, 2022 5:01:46 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-11-27 05:01:47.131 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-11-27 05:01:47.402  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-11-27 05:01:47.596  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-11-27 05:01:48.325 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-11-27 05:01:48.328 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-11-27 05:01:48.330 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-11-27 05:01:48.333 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-11-27 05:01:48.371 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-11-27 05:01:48.375 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-11-27 05:01:48.503 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-11-27 05:01:49.150 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/]]}
Nov 27, 2022 5:01:49 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-11-27 05:01:50.086  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.786 seconds (JVM running for 10.426)
Nov 27, 2022 5:02:13 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-27 05:02:44.185  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-11-27 05:02:44.198 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-11-27 05:02:44.249 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-11-27 05:02:44.253 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-11-27 05:02:44.277  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-11-27 05:02:44.279  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-11-27 05:02:44.280  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-11-27 05:02:44.282 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-27 05:02:44.282 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-27 05:02:44.287 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-27 05:02:44.296 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-11-27 05:02:44.300 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-11-27 05:02:44.359 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-11-27 05:02:44.367 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-27 05:02:44.368 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-27 05:02:44.371 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-27 05:02:44.974  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-11-27 05:02:44.977  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-11-27 05:02:44.978 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-11-27 05:02:44.979 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-27 05:02:44.989  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-11-27 05:02:44.990  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-11-27 05:02:44.990 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-11-27 05:02:44.991 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-27 05:02:44.991 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-27 05:02:45.009 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-11-27 05:02:45.010 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-27 05:02:45.010 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-27 05:02:45.016 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-11-27 05:02:45.016 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-27 05:02:45.017 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-27 05:02:45.018 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-11-27 05:02:45.052 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: 251864911341875577134378407116028011186295292088
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Nov 27 04:58:53 UTC 2022
           Final Date: Fri Nov 26 04:58:52 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d3:ee:67:9d:05:3b:dc:dc:06:8a:f1:56:b0:2e:45:fa:2f:0b:b1:c8],[56:66:d1:a4]
        modulus: a8f8ed0092f4d9993635016bb095a84d0cc1f376b5f47318271061d658d7e2fbc6c80ae215ad8c6ef10cac0ee4e29063b42748eade6ead050abb2c4f1d591150b7e95618167e0860413438ed709782b952b1ac406c95e05be9054226dd6271005475d45b0a295d5131d5d2464bb28137ee4b22cade0adcfe82ee4eb747a57340ff70c26712103cc1d7d00e91f838d93a7fd87323039a85ddd7f9eabd1426dc5c2c5777c758100b0d3456b0b10eb88d13ed399c856b387d0841496dd09c88ea12c5ef7039e5eeb9ba012e83cb6877160814e02d22ad45e600ca8e80351ac7c7ff4f97000ce01f19f33cbf68ad6ab7bfcbcc5ff4b318102223d07bfa1f9e6a965a3be33c64eb0bbbf5fa5e858816f59b0d08f9b3b93ef7ff1826803513b86571a1734dd7cc42014227f49e78fb9843197aed32622c40706e9fef7a52aea6809cf0e6b8d1972e634db9f16532d5baa15507300c71ec5b68690d87e14bff49780b3421500cb57662f66ccb0ce56b89026b15bbb09b28e9e6e5b02d55eba06ca3cd8f
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 291b26aac3baefab157b9267c9c764a24589b455
                       f004c678dc5109a0d1b1250204194c533eee774d
                       7c7e52a9b057351c04a694ca28423b2ec3d02a2e
                       bb258e8a270dda3f933277f1fc8416eb39e4bae9
                       87e515821769b512db5f14ec2fad7223a8f21eef
                       41a9f9525f0ce74546dd89cd50c3b72ae9a900af
                       83cbb885c2e4029ae489ebde8ecfc33358cda660
                       fa9570acc8660696c0297dc40b34e83ad6415bb3
                       839e37b79786b85f6cd7b09869008ece469301a2
                       d069e76ef87b25fbe7c7093de0608f547ba12b2a
                       6513f6237beb4b1e1ee4e73edb1bd5326892adf8
                       12108ba58e7d10be1b6c21e7e1f7393304a566b4
                       e44f34d1a94efad5788ef4cef249f406e277b99e
                       f41b269bf1f7e5ddc4bd7e4e440af939f11fcc66
                       3b705aca465355f6945dafb04a38b5637000562b
                       5040bfd9fbb6b5afbd49e4504197e17b0e886539
                       276fc4fbb4c786dcc60c2cfa3357fec5b66180f8
                       44d8379e5cb96cb37104512eb31fbdadc07d329d
                       b76d4a9f4c5249497d41bc7141a140f54cd52349
                       c1526187
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [CONTEXT 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 [96:24:66:4a:a6:5d:3b:0b:fa:04:70:01:3d:6f:36:f9:03:4f:ce:e2],[56:66:d1:a4]
        modulus: ca68bfe9fa48b79d164f27609293fb1e51f143d8d3e826dd200aff985f1d7700c999576dc5b3322eebacfaf1870f34ae8ecafdcea3e0ffeb8a45e03d12a1d19c8a7d1e7ccb08fd7b72801e20d0f1f44ecce8ad8ecb606cde262a316c8222b52d1400171d63398ee264382c1d6ae740b7890461f2a56a9a9da2c7a68da5a8eaee397832a943ef07cc6770c97c3e06af89c788e6c3e1cb9552cadc326532994c53dd893ae21401829fcd0ff187fde25219ec3a3aa1f21ea438db4168bcf5dff0ce0f4d1ac32bfad6ce91c455586c1f6e3e196c45a7cfbaf35696911f8c8f2aa2ba269f07b09098d2473d71d0f0d1f0f2cbfdcfc2c516d249ce4bb2c18039fc2981
public exponent: 10001

]