Results

By type

          2022-09-25 02:42:16,091 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-09-25 02:42:16,944 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-09-25 02:42:17.763  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 25, 2022 2:42:19 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 25, 2022 2:42:19 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 25, 2022 2:42:19 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 25, 2022 2:42:19 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-25 02:42:20.179 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-25 02:42:20.465  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-25 02:42:20.692  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-09-25 02:42:21.465 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-25 02:42:21.468 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-09-25 02:42:21.469 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-25 02:42:21.473 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-09-25 02:42:21.512 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-09-25 02:42:21.515 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-09-25 02:42:21.641 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-25 02:42:22.314 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/]]}
Sep 25, 2022 2:42:23 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-25 02:42:23.267  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.907 seconds (JVM running for 9.636)
Sep 25, 2022 2:42:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-25 02:43:00.792  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-25 02:43:00.803 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-25 02:43:00.844 DEBUG 1 [nio-8443-exec-3] .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-09-25 02:43:00.848 DEBUG 1 [nio-8443-exec-3] .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-09-25 02:43:00.867  INFO 1 [nio-8443-exec-3] .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-09-25 02:43:00.870  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-25 02:43:00.872  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-25 02:43:00.873 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-25 02:43:00.873 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-25 02:43:00.878 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-25 02:43:00.883 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-25 02:43:00.887 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-25 02:43:00.934 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-25 02:43:00.939 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-25 02:43:00.940 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-25 02:43:00.943 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-25 02:43:01.533  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-25 02:43:01.535  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-25 02:43:01.536 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-25 02:43:01.537 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-25 02:43:01.549  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-25 02:43:01.550  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-25 02:43:01.551 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-25 02:43:01.552 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-25 02:43:01.552 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-25 02:43:01.565 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-25 02:43:01.565 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-25 02:43:01.566 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-25 02:43:01.574 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-25 02:43:01.574 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-25 02:43:01.575 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-25 02:43:01.577 DEBUG 1 [nio-8443-exec-3] 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-09-25 02:43:01.611 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 311348036075959628201110545139150291566400049691
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Sep 25 02:40:15 UTC 2022
           Final Date: Fri Sep 24 02:40:14 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [30:b4:a4:75:da:56:fa:57:b3:51:69:03:aa:27:24:89:53:79:26:70]
            modulus: d43b107d76c078d42a48a4f597a20bf3fbf5929b27a4c71021f546d10485f56de548e89f7260870988739eb1259863fad3e2297d9254726bbc9770a55424655515ce62b5b9ce71b6b3576c7228f126c34486858670a2b3dcab6e4a9175d9662b5d101585e6623b7519963872b140137e88543b2f33eed3a7619d539289c3512d3b50f20a3dd9a601f2e7710dd448b45e261d6ffccbe5b04421e3476c8c2bbe13992cc3a4632f2e153fe56625fbde5922093d47c4e108a8503fa04d7ff4e9dab9abf13672b135bdf66e6d2e090c6ab24ecf642e64cd867f7641096d2fe494f8545a129e405d6865ce6e6697d6b2c02de50318d7317dd2c5fac88571f29dc5a1310c4ba25d4e84a637250c39c2c644376319efd3d24e1043ef2c05a4870586b4efbd492ca3f0dbd109182be753ea6a3275365838c1f50a6402aa8b9a3a6de25cfa149673ec1c8a0a9abcadabac9f9422ae234a12431e519a909d7d1a684a1f12e542182c5209d77f8331b00c5cca5e4be2640778fe5a63463a6dcbbbc8de59e1cf
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3475a497857c953e3e7c2e4a219b758ee0943d14
                       af11300663fa08f966610c8b40b21d9dcf08da8b
                       15377755f928a890c75f97434f8d03c435edbeb0
                       7283e1033ad2e4a59c56f196ca83aad5425e5c84
                       da0c8865bcf927e08d2075c44e5340269e85e9f0
                       754232ca10df8c28442959d548b226f5a292b404
                       933829be63ff9194f88b89cb2dcd11f1aea77082
                       3a3ccfda0b33e36f1d4c6b9c55fc6c131f4c0cf8
                       77e5836c9459df6388cde9cf5de94cd74da6bdfb
                       2cdad92e44f8c7c0eb29d351911288094fcbb44c
                       b0db9921de6c3f85a982da4e124b45965040bfaa
                       d20854bd03d23433ced328023a8ed7e493e51385
                       f0c359b22f7ccfc1e522a85ea03073bc4a18d246
                       988210dc1c217bd0daa3b3a9f55c150816480583
                       f3d6169ba0db23ed99220301a2ced876fd3f5163
                       fde83e0f348c45759a1ace8c4ce6c2a7402a1408
                       367ca0278a389f192eb8deda0564520b3d12569e
                       97bad07e1a230b3756229a95a3d5241fc8ef0b07
                       dee7d620bb4746facf3cb1674d2791b88135e01b
                       da3449fb
       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 [7d:5a:31:52:76:9c:e6:49:37:65:3d:7d:ca:b7:89:25:73:3b:64:70]
            modulus: bd93cad4e7103f200e7467ef5debf8549b04e55b875eefed5c4bf887f78aa404f18dd8ae50959bf9a6e218f0630521a87525063a653fb5151dbdfd7b9c2118d46d43e44fb83e041c16d2a1f93fbdd3f05820e7569775998811e0f9cfc00dd6bdb45a48313ba0278d5e3db780cebfa11102e9925f7e8c5ff79c69bf263bc38d0da759e82307edcea7a3f1b3046f629271f8c45044534468a421894effb3016e23a001ef448dcda21bfa087930ac9aad4b6e39e37659fc11331b9d26fcb830aaac9257992cfab95f98492dd8e3c5478c3fe5a70ae8487fb3137f73ba0575f04e72b4d5fbfd687bc85d830422d9d723984c1ec73d953104ea9fe08e479f5c4e6ea3
    public exponent: 10001

]