Results

By type

          2022-11-06 02:56:26,855 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-06 02:56:27,840 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-06 02:56:28.629  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Nov 06, 2022 2:56:30 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Nov 06, 2022 2:56:30 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 06, 2022 2:56:30 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Nov 06, 2022 2:56:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-11-06 02:56:31.187 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-11-06 02:56:31.471  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-11-06 02:56:31.633  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-06 02:56:32.329 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-11-06 02:56:32.332 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-06 02:56:32.334 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-11-06 02:56:32.337 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-06 02:56:32.377 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-06 02:56:32.380 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-06 02:56:32.523 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-11-06 02:56:33.098 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 06, 2022 2:56:33 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-11-06 02:56:33.986  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.89 seconds (JVM running for 9.803)
Nov 06, 2022 2:57:03 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-06 02:57:24.794  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-11-06 02:57:24.804 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-11-06 02:57:24.848 DEBUG 1 [nio-8443-exec-8] .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-06 02:57:24.851 DEBUG 1 [nio-8443-exec-8] .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-06 02:57:24.868  INFO 1 [nio-8443-exec-8] .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-06 02:57:24.871  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-11-06 02:57:24.873  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-11-06 02:57:24.874 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-06 02:57:24.875 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-06 02:57:24.881 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-06 02:57:24.890 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-11-06 02:57:24.895 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-11-06 02:57:24.942 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-11-06 02:57:24.947 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-06 02:57:24.948 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-06 02:57:24.951 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-06 02:57:27.095  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-11-06 02:57:27.102  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-11-06 02:57:27.104 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-11-06 02:57:27.106 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-06 02:57:27.119  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-11-06 02:57:27.120  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-11-06 02:57:27.121 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-11-06 02:57:27.122 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-06 02:57:27.122 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-06 02:57:27.133 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-11-06 02:57:27.133 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-06 02:57:27.134 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-06 02:57:27.140 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-11-06 02:57:27.140 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-06 02:57:27.141 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-06 02:57:27.142 DEBUG 1 [nio-8443-exec-8] 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-06 02:57:27.169 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 91406964376128204240651996369758983778924045075
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Nov 06 02:54:27 UTC 2022
           Final Date: Fri Nov 05 02:54:26 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d4:8c:4a:4b:ea:48:9e:2e:c3:e9:82:82:93:42:67:29:0c:92:81:1f]
            modulus: af5d8840e3b07c2cc0ce43d7668a28d712bf14d7e5716a48900ab9a1c27a07ef40ab5186b706eccd1701fa5585ab18fb30e5d25218dc32138a2777e7bf5831927262f4d3fcd60509b99e701ec6cfbf767a30d07285f649d1c57b60310763d191ec9ecf7c2fdc2afe95f5ffe4b0f5227898e8eaa1aed5fe4d2b0f088f730232f2621e991cd0dc052c003084ca28f226a2e107c48f6ca24f19e1f05140c480ce9ddce43dbe05fd288f3ab97120856c38eb10a986da5ca86e364e1408a08087ad85da37f56187eb5638f3c9507ab4eb4945a911191fbbe89cc0aa50575c88111e3d4b20ee9230cb904fdb9b1f5b25e2426b5c05f23aaf82c9a084b0d0aba9e03f7c24546e4622efe985e3e18991d900a14d333c7abc638ce5eb213a1fdc9d7ef817e1d4de3173ff618fb21749845cb26d829f3bcde72f6348b7735f61d5039a43ba1152303f54f5fba80646760cd5ca7410c7e12e007477897fa4d6df96d881f4862584b16dc102dd39b11c71e4e778d3bfccde0efd1dbf76815b5d6f11d720853f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 292558e13472ebe84ff3cf3f695a8d5966eb7807
                       9bccb725082e5afb9478342892eb39db5fc945ea
                       bf78f8d962f7c2c196b7c9c3aa9851d613d310fd
                       c99dafb21a27414526b552188cd3f1eb430afa13
                       2cb08391c73d24849f20586f4ea9c1080a88c1b1
                       fca23867a74749bf75097f2d6f498430c1e15005
                       3b9b111d777aacb3101d3128877f0f569e415909
                       ef615fc93bc89cf660d2724906c1fe37e228c78f
                       0a065cf5e993857ca7e007a322afe551655180fa
                       d1e8bea262b401968cf7be3a9a67bfa2822c50ad
                       c6610a99ad74161bc6ec1180a52f423d0512f64c
                       3bfd797c00ed4fe9fb490b55318db443b828faa9
                       ee07b551ed8fc799a6403903e0302462e373ba2c
                       dfc3830171ffdac1128a306ba7e562e5ac71750c
                       dfce8b1257ffd9954a150de1c4dfd643f2a7620a
                       1431e178e3945228ec2a5aecdfadd50a0eded46a
                       7246abbb28a21e72d035bec22f97c2a887c923b6
                       1577cae3faeec5a1651b7f1c92d4bf658a9f96fe
                       49d27686762b63e311d8fc474b7808eb4b91cc99
                       261737d4
       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 [87:a5:02:04:99:2c:b3:90:5f:30:da:ff:7b:e7:8b:c1:a9:9b:a2:ef]
            modulus: cd14a9bb99bd351dc01a082faad7ac815563b4103b0c2ee23012441023a6cfec8c71a78d5d380152fdbf1aa1ee48c257d0804793a46db29aa8a690cecad36f55d04518911f9073c62f07386d0a963def01fe49de1d5c15e6632547c8c5c25716a793aff60d8e24acfcd43c89248252a6095965ad8f0cc911a5eaa851f17bcb73f5a666a62b73998a074fa5868af9838bd8a54284a3c34bbc907522a42d6bfa076bc7ca4ea9985b66742aa396d37b01bb4f62babcb46bf2098a7ffa7fb3baa1abea20b507e3d58b49930f1516faa111efb1ac2ec5db9f86a488fd2b42813156670fcdf7c5e710134687cc46928c2249b1f2b073d19a37e57a5050086d4f5cb517
    public exponent: 10001

]