Results

By type

          2022-03-04 12:30:23,487 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-04 12:30:24,193 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-04 12:30:24.788  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 04, 2022 12:30:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 04, 2022 12:30:26 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 04, 2022 12:30:26 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 04, 2022 12:30:26 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-04 12:30:26.681 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-04 12:30:26.932  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-04 12:30:27.066  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-04 12:30:27.603 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-04 12:30:27.605 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-04 12:30:27.606 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-04 12:30:27.609 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-04 12:30:27.645 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-04 12:30:27.648 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-04 12:30:27.739 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-04 12:30:28.212 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 04, 2022 12:30:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-04 12:30:28.943  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.041 seconds (JVM running for 7.393)
Mar 04, 2022 12:30:56 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-04 12:31:11.854  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-04 12:31:11.862 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-04 12:31:11.894 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-04 12:31:11.897 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-04 12:31:11.919  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-04 12:31:11.921  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-04 12:31:11.922  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-04 12:31:11.923 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-04 12:31:11.924 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-04 12:31:11.927 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-04 12:31:11.932 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-04 12:31:11.934 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-04 12:31:11.964 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-04 12:31:11.968 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-04 12:31:11.968 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-04 12:31:11.971 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-04 12:31:12.491  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-04 12:31:12.493  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-04 12:31:12.493 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-04 12:31:12.494 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-04 12:31:12.502  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-04 12:31:12.503  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-04 12:31:12.503 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-04 12:31:12.504 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-04 12:31:12.504 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-04 12:31:12.513 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-04 12:31:12.518 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-04 12:31:12.518 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-04 12:31:12.523 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-04 12:31:12.524 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-04 12:31:12.524 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-04 12:31:12.526 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-04 12:31:12.551 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: 505233777499437843668581277132328359492868576798
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Mar 04 12:28:28 UTC 2022
           Final Date: Wed Mar 03 12:28:27 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [3f:55:8b:8c:6e:f5:be:a8:9f:be:3b:a8:f6:f1:32:67:44:12:bd:45]
            modulus: 8871af06aac19fdfbf7fb07b1085cb3de706add044bc197be4f879892e195082866b5a213d44020b75a77d5f9970b1963af513483c733935a3e3b874763c2a98a54555467c8f8ba5651f1fd35391e3dadfe939c516e20911a71a13652483868d46ec5a09c0aca33d19cda0b1e2d6b1e61c9590449ac5268de1b62f7aa80a8af1be6378720fd191a5e01c860ed097df1b6ad4a8e79aa275bdcea155c0beacdf136f3bb271ece4f25642557c719c36719868d516b5cb7ea4f2e78820363ae856f5ba1d7fa2445d9e29fc0eebc80299f33ab13106b724e8ae93089f3d491fbe8f63c688492d663070c07f0e9a1f3a1ce2380815c0d7769841efcafbbe76bb5414be170034b107d39290050fee75dcf0268349964339913633c155017f366080552434562bc7c25af596d51e96059707639caf836e3d1aa7ca6bb9d4865362979e6fe6f7cec53324d9ebead22af7775f7c634d343d48f618771a508322de00c8227a7b6599e6339e085ea7bfeac810179efc74980f5a52335deeab14ac94243c4e49
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 08004f026929abf761157a96d154e0603b4d22aa
                       8c7626c2bf484e1fcee69a3927cafe182b1a7c90
                       b6982961c36b5acc6bbe25b36ea0f61ddb1241b3
                       33048dc40fbcf5463702d02163227c308feac0b1
                       605d934e33f0873ff68fd84f1eb534f9ff5a2ec2
                       8c21be0794212b6e240c5407549be5e3b61ca3ca
                       30ef69c13dacd9fa4fdf65fad8e88fc2a6e96d22
                       541faf8ef2ec4274abba746a0e1eef2140cba614
                       4fc879bf4025c19284bd2c320443adf24fb76f69
                       8c0a930aa73b4408bb3ce9a46063e33f37a1d537
                       6417862017cc98cdcf6fbe5c9269fa63e96181c5
                       3dfeace347bf5702c02b61f4712598d2f901ea16
                       4671dfd9ca2ba43e53aab5c33349a42d44dab097
                       1004d2ecb5b2fa95a271922cfcff22d5e49c9d96
                       f2cfbb8084b4bbb2cfd8589265332b678fea182d
                       53d545eea6012e62de6998c1c208bb325e6ca82f
                       d67a7fadb8309538af99ddef1b479343c1afde54
                       af2ee42b8bee06e6295f0a30383433a578f70fb3
                       6c3daecdffd8862269347814f7e1909b8a6cf153
                       28555e97
       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 [44:79:ee:70:7a:d4:8f:a7:c8:e0:14:2a:e6:c4:99:58:e8:db:68:45]
            modulus: cb90d853213ca60d3f251776d71df1ad0f42f8116ca7977ab1d7e67dcc94c8ea1a9294bf17c11943c44ddec4143c98c2e492072b2fe6e44f41bbd311173c0a495d7be053d74867148b928653398bbd95e25a0d05baeff8216f7e69665f985e845f451015d5ee9415e274717e9e124423d116a2a341dfefbd60d64725b2bf998fd3395d9561b09810f72730c66ba0670a40ea864fd95ad784ce834e6e4230361b7b9f32cb85a9fa010375b4957c4897daa948f5ae93b030ffc5477737ae28f1ab5705eacf513ccd2fb3f697663e135c0cf0183ddf569f15070a460a199357e6d097609f8eca4c21105ec2dab5484922385c035c1bf581192dfc7bd0e17e6ce3f5
    public exponent: 10001

]