Results

By type

          2022-06-11 03:12:03,775 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-06-11 03:12:04,670 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-06-11 03:12:05.431  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 11, 2022 3:12:07 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 11, 2022 3:12:07 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 11, 2022 3:12:07 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 11, 2022 3:12:07 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-11 03:12:07.928 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-11 03:12:08.241  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-11 03:12:08.397  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-11 03:12:09.057 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-11 03:12:09.060 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-06-11 03:12:09.061 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-11 03:12:09.065 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-06-11 03:12:09.105 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-06-11 03:12:09.109 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-06-11 03:12:09.238 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-11 03:12:09.878 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/]]}
Jun 11, 2022 3:12:10 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-11 03:12:10.729  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.743 seconds (JVM running for 9.511)
Jun 11, 2022 3:12:34 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-11 03:12:49.722  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-11 03:12:49.730 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-11 03:12:49.768 DEBUG 1 [nio-8443-exec-2] .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-06-11 03:12:49.772 DEBUG 1 [nio-8443-exec-2] .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-06-11 03:12:49.789  INFO 1 [nio-8443-exec-2] .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-06-11 03:12:49.792  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-11 03:12:49.793  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-11 03:12:49.794 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-11 03:12:49.795 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-11 03:12:49.799 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-11 03:12:49.806 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-11 03:12:49.809 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-11 03:12:49.849 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-11 03:12:49.854 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-11 03:12:49.855 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-11 03:12:49.859 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-11 03:12:50.470  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-11 03:12:50.472  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-11 03:12:50.473 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-11 03:12:50.474 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-11 03:12:50.485  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-11 03:12:50.486  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-11 03:12:50.487 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-11 03:12:50.487 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-11 03:12:50.488 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-11 03:12:50.500 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-11 03:12:50.500 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-11 03:12:50.501 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-11 03:12:50.508 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-11 03:12:50.509 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-11 03:12:50.509 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-11 03:12:50.511 DEBUG 1 [nio-8443-exec-2] 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-06-11 03:12:50.569 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 34672119982458945247204711992345332681083974102
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Jun 11 03:10:09 UTC 2022
           Final Date: Thu Jun 10 03:10:08 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [1b:af:75:f9:e4:b5:11:8a:f4:09:13:7d:79:72:fd:9d:5c:9f:b4:dc]
            modulus: 9edab82b9a35f99fdcc434914c0131cede0db957e7434a6e71c15b21958c6f3f860a554413b50ffd55a3be84be8558e50b99cb08aa22f3400c06908182e04d63ea2bb944304dac3dbd434e6c8a483861d7acad42d83794ea0ce8870135897ab52c9808d2ec970bcedf6ed49646b7ec1b9f406b77287fe4f71191027650ce9a074e6dce374612f2f89f09e9b7fda1410929fb8ae9604f1f338a057cba8e87871046a4e6edf38eeb4d55296df7dcf02902371b35e7d67a6df78339c5e7c03799bf08af66104289cc63f4279aa06764838cb6169d592f34fbddfe3f0771f7b1c83fc6c015ad4505c37cddf4d6f91aa6e44d432207db1d1e761e858eb9157e4dd50ccb24cba74ecf5465d7cdd45b909679710a5afec0d20489d305553c7a9272c914431a1da2f4aa6f5736ffcab4c5727335f43939dbdf6d92d52e9a9f7965e42bd890666736f1c72633047cac603274bf387e5a8405694a186d6a8f8c6be2f03fdc27fb81369bf501b8ab4be87fbbd3798a59e7dacd516121ed1ba184909624b291
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 97fd0ec6d5a6f0461e7251e26ec36270142f781c
                       25750957aaaff48c00833da5f23d2d52a88eba68
                       929b1a1ba1f0db79f3fe4969466936d4ccbeb82e
                       85bb752a8f007ff0cac7a440cdbbf4c72c0f6416
                       8110707f890b45096682b31a538410b7f8bf8abd
                       6b35b2bae8ed82784990aaa7f500f865cbb4cb15
                       b30e964bb3fcc3cef3a3b0a874cff6f000f89af2
                       0e321e9a7f81db7d3c9bc784457a974375c7cb90
                       5d7226bf882ae7c3bcc32bdbed03bec8ee03c9c7
                       ca5d56849a5c5d48d63120dd98c8a71689fbeb1e
                       b25cb580f364d48a69e7f7c6f56739303dd95dfd
                       18ebcd06dc05a5865d089ca584c80f8b04e88eda
                       d8bb2bbf4009e7e059618caea538a8165ad96b6e
                       ded11a542dd1e62d28ffdeebe2d9190456a2d021
                       bee91a5b6ec651cd5064cf4c443c0c2099a3a561
                       bd58031691426d6eed94a633782c0b962b642e24
                       0dce70e9aa5a0c3e24a8105e35b1d7adabe02a08
                       ad0c304a645c4776b29e0af3d94bab705ebe3da0
                       2e4a6bce5840e34b487898f147d186dd8a2cfe95
                       c8c34294
       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 [99:c0:92:01:4e:9f:97:66:e9:a4:da:74:b5:88:00:1f:12:94:1c:d3]
            modulus: c5ce133c146237dd54b2c130b15eac06f7ec0f7a168a7b6ec2a53b6395f42c606dc0d8432d0156c06d7ebf05e28639946e787398416f4666f40b51b93dde56651fd1c94ffcab3a9d2e91c50ce8cbf1ca8522ff77649f88c903baf9e06d145c26aee8982e21bec93b2bcac476ca3617b1dbf7fb96a562cb06626247a3787018d8a2c012857999f4ca8f862aec617265941b50277d6d4edce7308ab862abde35ed5435b3738d8cb8a82749392a0c9c382d8081c1193bb82ef14e00fbc2ab15745ced0f318e4d93404ef24365e64615a88a66b35f73577aa805e7bc3e366143e509f403d9b1c7d1f2df291ada0656ea1a24f4756ceca7b32c59e17e58920a45a02f
    public exponent: 10001

]