Results

By type

          2022-11-12 02:57:18,712 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-12 02:57:20,506 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-12 02:57:21.597  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Nov 12, 2022 2:57:24 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Nov 12, 2022 2:57:24 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 12, 2022 2:57:24 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Nov 12, 2022 2:57:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-11-12 02:57:25.067 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-11-12 02:57:25.563  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-11-12 02:57:25.765  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-12 02:57:26.596 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-11-12 02:57:26.600 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-12 02:57:26.603 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-11-12 02:57:26.610 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-12 02:57:26.679 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-12 02:57:26.685 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-12 02:57:26.830 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-11-12 02:57:27.564 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 12, 2022 2:57:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-11-12 02:57:28.794  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.123 seconds (JVM running for 13.405)
Nov 12, 2022 2:57:48 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-12 02:58:12.680  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-11-12 02:58:12.691 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-11-12 02:58:12.745 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-11-12 02:58:12.751 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-11-12 02:58:12.781  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-11-12 02:58:12.785  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-11-12 02:58:12.787  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-11-12 02:58:12.788 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-12 02:58:12.789 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-12 02:58:12.794 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-12 02:58:12.802 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-11-12 02:58:12.806 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-11-12 02:58:12.859 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-11-12 02:58:12.866 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-12 02:58:12.867 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-12 02:58:12.877 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-12 02:58:13.557  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-11-12 02:58:13.560  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-11-12 02:58:13.561 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-11-12 02:58:13.562 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-12 02:58:13.572  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-11-12 02:58:13.573  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-11-12 02:58:13.574 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-11-12 02:58:13.575 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-12 02:58:13.575 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-12 02:58:13.587 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-11-12 02:58:13.588 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-12 02:58:13.588 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-12 02:58:13.594 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-11-12 02:58:13.595 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-12 02:58:13.595 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-12 02:58:13.598 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-11-12 02:58:13.638 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: 516118669655991639690351180354232489366982823758
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Nov 12 02:55:09 UTC 2022
           Final Date: Thu Nov 11 02:55:08 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [b4:99:5c:52:e6:cf:82:af:23:4e:97:c0:a2:d2:d3:00:d5:48:e2:4f]
            modulus: bcde10310793b65974d3e25e676df37d4ca3a3435412db0a10b620b8ec1af6be05729048e3e6f18608d5c56ba4ae3acd212363c671fc9bc0991bf2ebca0637539f47d3b0a4498dc6ad99370c54979b7f4dc2115ae074a03b5e15b5442fada496692c9e9cefff81e0afa4ef189cdf92ed217d3723d67ea9ad446df7c7b63f2dc5bfda84025ec949ce3b8acf6ad8af055c4cd2e64f0d795908aeaca64b16643df2ef189b7542ba5cc3b20bef5a4151d613bdfa432da98f08000cd670cf2d40cdc47c3bd5906c9b91d16ac8f455af168c86ac257697814ec87bf28bb133e8419295e51c7e5d82d306b3277c68bb0337f079ebf3588b8b9e1d3dead80cef93c665b25aa54e23c43facbce0798c22e0ef93a6697f088e3febfcec136f553e4edcf437d5945201fb85650b74ccffb008a675385fd7b9cbb55c0994aa939a869d2216fe02795b4657f305f1212d44e9072e9ffac230d78c543aa458904548df89142ca63a606e44202be0f35b94d55aec5c6c9ca538b27ca028edfedb8e9703f3405147
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 8b6c46d2f2cfa38129ffd3baa5e2cf2fec0f6aaf
                       147a4b4773934d424c7a30d3187883ec6e9645e9
                       25601ce5da3e7b19769de09ee31b617fb78085da
                       408efba3b7249bf6e7a025280848cd4df9c59de5
                       58f9548dfaf2f7192a53fe3e351add9a47607a50
                       5b2762c56cd8ff4f1a200e487a41c771142d7ae5
                       15197f293829c9abc1a812d4e80733e50930a13a
                       0132eae16060cb1e97ab266b3582597b7aee3535
                       d4c169bc74317f430a0cc37ae394c93292f11fdb
                       2b20f2359d77cfdca0e8b9680170b475ca7ae5b4
                       38fe43ea262fbd7ac20972b33b6ce687d94fa9b2
                       f7c17b8152b3f1391605943099b4681e2ea1adce
                       24c659bc4f8b4babe1d1ac7c21afdba726dba175
                       2b1168724b001e6af76a7a40d198bc27994ac44d
                       c21c5b6b54d854fd668a8515bae1613b5260d307
                       eb91754683a13afbe373ef6b22621cace926fc05
                       cc58fdbaf4f395a2fa437f7cdb72df619027c89d
                       88352595348913cdf4f785c89878815df862069d
                       c489834c8e32dae976d2097ab8fb82d0558ff821
                       3904e884
       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 [1c:a4:36:07:7b:37:68:e9:90:b0:8f:65:5d:e5:35:7c:51:cd:ab:33]
            modulus: e8518fa6b17b9628f39605f7eadce727994d00c254ef714e65d20012ca3208605b08dbfdc25688d38b82c00c102c6315865f743228417a7d92e6e8d136594aa55f13906ea8277ce8e6c3306abe2647ce078dc2679f2da54f959ad9ac84228fe165b27a15f9c1fb05dd5b21735070b676f63421949e84877d7d2758a43155750ee15b926354d7046287b2644dbc5e6870e7f323322dfdc0dc49e74b955bc076510d18ad9c0c75cb5509fc1965dc0a1e196f041cd1c825cbf6323593769bf1868114577b676e73e2e2b1c15c575fce0f9d1133338fd1c2760733899e913c08d5662a880a5966c3f05a1f5302af4848684cd2c4d73df2a6ae2daa2e9b6d7f8c0a61
    public exponent: 10001

]