Results

By type

          2022-03-19 23:07:03,979 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-19 23:07:05,406 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-19 23:07:06.475  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 19, 2022 11:07:08 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 19, 2022 11:07:08 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 19, 2022 11:07:08 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 19, 2022 11:07:08 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-19 23:07:09.587 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-19 23:07:10.030  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-19 23:07:10.432  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-19 23:07:11.263 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-19 23:07:11.265 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-19 23:07:11.267 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-19 23:07:11.270 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-19 23:07:11.312 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-19 23:07:11.315 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-19 23:07:11.429 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-19 23:07:12.016 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 19, 2022 11:07:12 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-19 23:07:12.922  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.801 seconds (JVM running for 12.389)
Mar 19, 2022 11:07:32 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-19 23:07:57.408  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-19 23:07:57.424 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-19 23:07:57.479 DEBUG 1 [nio-8443-exec-9] .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-19 23:07:57.484 DEBUG 1 [nio-8443-exec-9] .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-19 23:07:57.504  INFO 1 [nio-8443-exec-9] .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-19 23:07:57.507  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-19 23:07:57.508  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-19 23:07:57.509 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-19 23:07:57.510 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-19 23:07:57.514 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-19 23:07:57.520 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-19 23:07:57.524 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-19 23:07:57.561 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-19 23:07:57.564 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-19 23:07:57.565 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-19 23:07:57.568 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-19 23:07:58.239  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-19 23:07:58.243  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-19 23:07:58.244 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-19 23:07:58.246 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-19 23:07:58.258  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-19 23:07:58.259  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-19 23:07:58.260 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-19 23:07:58.261 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-19 23:07:58.262 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-19 23:07:58.276 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-19 23:07:58.277 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-19 23:07:58.278 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-19 23:07:58.285 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-19 23:07:58.286 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-19 23:07:58.286 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-19 23:07:58.288 DEBUG 1 [nio-8443-exec-9] 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-19 23:07:58.329 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 481875398744085264293448518458061087272390903163
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Mar 19 23:04:52 UTC 2022
           Final Date: Thu Mar 18 23:04:51 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [83:45:fc:8a:2d:44:5d:1d:86:47:61:e6:a0:e9:5b:45:74:55:72:03]
            modulus: cfb72b8ad3cb8c3ef9432328f1ed4a0e8671e3a2918642720c1e6501750182fc3d42e58b8bfb30b7172a1a7cd1eda10bfcb75a9a8265c294516227d07994fc9cdfba4a457e7c1a9cffe410892b67eac559459337ce582dec0b4d7e4c94abf781d21cc7077ebfcb96cf4d387598e8ea4a79559f84d10147e60f24f960558f3e515d58f5c2e640de81f09e649fb0257010f128d8e2311a65453c68399118a69bdd4eeb54ddd68c2de2acb48104cfca7937a001bca529773d0658e61c9393d95bc22c986b32c0cd3e875c79155b02affd71167ccc7e69fb9fde5419051bc282fe2ec59063698b550687e776ed20120aa665dfbdaf13c380ba824cac8358db1c740a3cdaddd596d6f5b1d1638ae77e20b5a9d53ab8202f23ac080182e3466b9d16231a247c3363c2c9e495c132082dc5dfb1c2c19befcf937444085b2d5e3838ebbb2c53d73caca37b4fb2d39301d5d8713df062529fe6537b1dca86a8f56e72273a611f7f09d9cfb272f14889325af9dc7fd4fe2a92aeaca86d198069af4c0be855
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9b6dfa633c0669963f1b1a71209880a3e9d60842
                       fe707162e5ebe919c14376056abf427d2f52d760
                       48ed8a58dde70c54f89accd2f3fcc35c78506b36
                       f749496239c13ca79267c1856101009f07b92c05
                       e07df86b33aa1827a9af3cc91dc1113ffc086c29
                       790dfdab2cb0bdf2997fc4aa7a175d97881d02b0
                       55d32ef7ddd88d2315e59256337526018a6cf957
                       5f2f06664daa3b370460b1f3ede79f119ebec695
                       9cdb0b46205bc66d51d38e0c3e6b58acf742496c
                       eb359051eef1c7ccb76d00d1bbb4e650ee9ce2a5
                       65555a74584e2a786d3125b83c1cf99b2cdd6202
                       448622736a546445cfcb964f2c97ceb10ff2dfc8
                       ae9b0941dfde8fac2ff3d791d4df07a0b0335b0a
                       6e1c6cc70001426527c35ab0e17cec21b02249f8
                       531aa86cbd56f83a2cd90311aa6a0aae1af3e388
                       e63f59982a5d2efece700e1e661ca4c3955c01c2
                       d6f41b18b8ad6f7b9ed719c22d632714ae316df1
                       cd48e28d8b389d7693696397c68c300bfae0f753
                       f2a7d61511cf740c8e945dda25d5ee31d3959834
                       4a5ef8cd
       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 [2b:72:dd:53:02:b3:12:9b:9e:ec:48:5e:90:c3:c3:cc:ee:61:7d:dd]
            modulus: ac7d92301cf48481bcebb7a3d05cb187af2979074efad607726f123169a542eb66db309f5be5521f75db482f9500ce7553bce8dade37e63fb16b8b7b5d105d34b39490e0285a951c572044e399f6b93b5564f195396d299fa3456aee1e1b5b12769a2fa3c7780c9892f7cc9e48a28b289ef35104d759d1e6a426055358797594d6dd65545dc6a7f66d5b542ec43e90a98638f866b4090dc73f6a2b2d785348835ca7bae4ed59cb2101bdea8203b28486664be7128056822791ec68cdf80c8853b7f9a566705ca8e569dd1d1dcb1d9385bf8ea39bdb0a71397c2991241333d9e0d4c3c041ca0a914aa3c566cf643dd764906fedb1db8b695f0efc2cd45077a955
    public exponent: 10001

]