Results

By type

          2022-02-04 15:02:17,120 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-02-04 15:02:22,918 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-02-04 15:02:26.509  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 04, 2022 3:02:36 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 04, 2022 3:02:36 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 04, 2022 3:02:36 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 04, 2022 3:02:36 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-04 15:02:38.414 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-04 15:02:39.621  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-04 15:02:40.211  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-04 15:02:43.715 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-04 15:02:43.718 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-02-04 15:02:43.719 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-04 15:02:43.722 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-02-04 15:02:43.918 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-02-04 15:02:43.920 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-02-04 15:02:44.418 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-04 15:02:49.316 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/]]}
Feb 04, 2022 3:02:52 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-04 15:02:54.126  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 40.899 seconds (JVM running for 48.821)
Feb 04, 2022 3:02:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-04 15:03:35.615  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-04 15:03:35.623 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-04 15:03:35.738 DEBUG 1 [nio-8443-exec-5] .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-02-04 15:03:35.803 DEBUG 1 [nio-8443-exec-5] .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-02-04 15:03:35.821  INFO 1 [nio-8443-exec-5] .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-02-04 15:03:35.905  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-04 15:03:35.907  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-04 15:03:35.909 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-04 15:03:35.909 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-04 15:03:35.912 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-04 15:03:35.917 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-04 15:03:35.920 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-04 15:03:36.122 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-04 15:03:36.204 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-04 15:03:36.205 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-04 15:03:36.211 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-04 15:03:37.444  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-04 15:03:37.447  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-04 15:03:37.447 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-04 15:03:37.448 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-04 15:03:37.512  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-04 15:03:37.513  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-04 15:03:37.514 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-04 15:03:37.515 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-04 15:03:37.515 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-04 15:03:37.610 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-04 15:03:37.611 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-04 15:03:37.611 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-04 15:03:37.616 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-04 15:03:37.616 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-04 15:03:37.617 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-04 15:03:37.618 DEBUG 1 [nio-8443-exec-5] 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-02-04 15:03:37.920 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 260951940324899570321780161294200562768232037017
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Feb 04 14:59:38 UTC 2022
           Final Date: Wed Feb 04 14:59:37 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [6e:ed:50:a2:19:c1:4a:c1:f7:31:c8:67:02:5e:50:56:3a:d2:98:3c]
            modulus: b9439cf355cd29086c4a89ae68acf1887efcbc8001eb70de4ad35f2366bac0b82bde1837677db7c4477f94e5942a95b231df1e2f4e055015fd995214904d94bd49c973190282fea8eff587a170044631c24bbca77f9a80221b01193ec4b7ada4c32d6bd4e65ad0513c5b4e275d571e9e6e9dc72a99b33d668de829a4b47f7d12fe4c790e20f9d36babacf26f7d00170a24de41106914eda48cf60ec300e09f9fa5e2987570654c5a6e969f9c66b7609c45d48c31c0c2ec011f7974c00f9bc51b0c936f5672edbfaaf1600502396381c45aa39f736f2f6347c37b2ce0bffcae275e8b69967b6a4314a1f9a6f1a004f05187ab7c1c38b4ab87c67db9eb0e5cc25f576e9016fd1ae8bbc7bcfaf282d5cf1d5b6361b1a91f114c215d86f46ac7e13114b62ad092bb8ef6c484be7659bd0f5ca205ea04ed73d2b23492fab5192cbd3cc73f8f0db45112f03da2f38da6aa13c650d15ce7aac9e70bb7bb5f593f97f332ec6a9bfb5a1b12bcd93c7f6138034ba901aed7d3efd3cf1c5f6dbd8043eddbef
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 0bf446557aa1a8cc358703d180c6828392d30dd1
                       90ba5736a94ba4cd77b7b1bb4acd7967b199f844
                       515e8e41db961ceac1386a6ffac37cf74bab519e
                       f9202dcd8338aeab68fb97b3baada0f58fc841a8
                       d40c423957acd380eee03f5447e88d112586da21
                       daf5cd299d406c96cb65dd1b05b686b06eac1f90
                       53c27432fbdd08da40a93747183c891df801b789
                       0a61e8963d69041156e8d89a36852ca5dc8ffd39
                       f238a82ad1e075d4717c36e3c9461d31dea2cfba
                       3edf1612732f89aa318b8e07b32f1e249dd6e783
                       b13f9f067301db8b69fc2598ce3db5ffb8df3658
                       ff85e88cb248cbdfb2e15796bd0ac871cd6907aa
                       6d37addb5de5adb1da798735bab651b4b9a711f7
                       895d6ef349a2d30c32876e8a7a2eede2214bf223
                       0f1190aeba1c3d170e872cebd082357126e62ce7
                       19ece65a49e9f80578389aac1c923238cfb2a5da
                       c6ead8a4e75854c1517c8b08ac1bbed767e9c955
                       0c4207df1ee86e4c60b4bca6584e054b5ae7d966
                       6842d3fa1832ca8bb353d4c9636c79067aa95c6b
                       6b8d636c
       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 [d9:fd:d1:0e:50:f6:9e:5b:0a:ed:f3:53:07:88:32:5f:2d:1d:3d:c5]
            modulus: b45b781375484701bbf0806870fbf8a317f30f8ab7af2d726459363e56510b94004307a7e1a3c20ab62edc25eb76bfbec55709ab269fcc6555c7c279837abca4514f9c6d1f2b3916027f76c6315605b41fc6cf02c7c143b0c22c30df7d0f54a7f5344c7f09bee518c01f99d5bb5a6a14007f83db46c249e430ea226a47d37118e02c169815a1a0e08374c275d7ab347997200543701134ddd7499bb442bfcc20f0336d8a495a3c33ee7ea9e7485e82054bccd6c08ff742de502d5c5db1142389cec402c63abe8bbc489f9498dad625f83ff072f150277f452acfeef8763e16419494d49265dfa700d3d889b738eb82db2eca9ce6d722d7367855fa6398cf6be5
    public exponent: 10001

]