Results

By type

          2022-03-31 03:01:41,727 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-03-31 03:01:43,007 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-03-31 03:01:44.211  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 31, 2022 3:01:47 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 31, 2022 3:01:47 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 31, 2022 3:01:47 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 31, 2022 3:01:47 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-31 03:01:47.892 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-31 03:01:48.305  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-31 03:01:48.547  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-31 03:01:49.386 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-31 03:01:49.392 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
2022-03-31 03:01:49.394 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-31 03:01:49.398 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-03-31 03:01:49.457 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-03-31 03:01:49.461 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-03-31 03:01:49.628 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-31 03:01:50.548 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/]]}
Mar 31, 2022 3:01:51 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-31 03:01:52.040  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.324 seconds (JVM running for 14.211)
Mar 31, 2022 3:02:11 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-31 03:02:33.911  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-31 03:02:33.926 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-31 03:02:34.058 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-03-31 03:02:34.066 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-03-31 03:02:34.099  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-03-31 03:02:34.103  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-31 03:02:34.105  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-31 03:02:34.107 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-31 03:02:34.108 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-31 03:02:34.119 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-31 03:02:34.130 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-31 03:02:34.135 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-31 03:02:34.213 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-31 03:02:34.230 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-31 03:02:34.231 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-31 03:02:34.237 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-31 03:02:35.057  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-31 03:02:35.061  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-31 03:02:35.061 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-31 03:02:35.063 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-31 03:02:35.077  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-31 03:02:35.078  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-31 03:02:35.079 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-03-31 03:02:35.080 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-31 03:02:35.080 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-31 03:02:35.097 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-03-31 03:02:35.097 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-31 03:02:35.098 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-31 03:02:35.105 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-03-31 03:02:35.106 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-31 03:02:35.106 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-31 03:02:35.108 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-03-31 03:02:35.161 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: 673306375433765408827779456927132040277941250050
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Mar 31 02:59:30 UTC 2022
           Final Date: Tue Mar 30 02:59:29 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [53:3f:a7:9f:5a:ec:cb:be:8e:b3:f3:26:60:66:de:d1:53:bb:ea:3b]
            modulus: ce481946600d51780b9dc1101d205a0017be15befb946197aaeebbd61d62d0bd0ce150c1a39e8a7a3e32bf1f8a03e5e9497e58ee3ab3320c019dba07c866dff68e78e12d4ef73d7a6145e3463857b0ea59b7b9beca9a71c2cd6a90077a42192c70833fade1b587e66bc62f6dccd053eb3b3ebf6876d11c9ee9eb6596acc351899b3b5b68ec15585e20fc618964d30e5d68b5c0132759aea9f2c1d2b239f0d7ea96ee173705f14aa0b9a536870a4a684f7535e89e849aef7d8866f4773eb1130a7c1d25fe68a2e790f15442018a78fc081c42cdda7c64c8160fceb7354e1b4d2e38a297f27ecf891be648235fb17293d611a3f063e1f36f005af200774998b6d40f52f1dbfebad5803a999b5baea114b51bf551d0002829c26000b9057d862c4b35753e6942b70086c9922025b35cbd2e034bb7a650db92bc43bb2d02cd3f7f7201efdb2bdcef8ad420e820b7c1d01e3b4624411037f3b7d2142f661b5c9f0c219f2ed79a260705afe6c4b4407ce335fc385aba0a022bcf6b06783aaf09237c29
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: c248c43b58bf92d04d3908998fdce1e278cc6e5c
                       306e59629ff7f8ae4531f54fad1b8ae27b9b949b
                       5650000bbaf0bf0d93eda6a915b8fe0768547fc0
                       58828b27b0de2df9f41babb77dec65c64e68a817
                       753a2d8186d0dd600aa97622ba783bdce5bfc5cc
                       4712c490cb330fb2b8f6057e4b814e6418a4a0b5
                       7c5796a00aa2f8b55c9e528e36789cbc053f3332
                       7b5dcdee94c1231c0fd22251c7def5a999baa04a
                       259ab57731fefc213d7b7d9233cd6a6bd63fb156
                       ae87b58120279ca3495890e2774527fa124c1ca9
                       ea7c1151179916f662fdd1f05ec0645d1e9bbce4
                       19932bc7273e83a5451422c2178f6d96b352a1b6
                       5b46f9d953232e85c0463214271f21a2a28b3a62
                       3c6ea764032444f6db46e264bd8a51f3dc421756
                       58c2c7b92524446c09d71f96b8e148817407c734
                       e6821ff263509391c452ba445cc259669b6f38f2
                       ce6efbbddb6a98039fbe9be9a83c53524f2ee3eb
                       8b25ccfc298b2fff715305b86cf825be50c2148c
                       fc9e979c8e08cc73252e58e50ae1a38def33e82b
                       1a4b69fe
       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 [28:c9:d9:77:73:a9:75:31:70:84:08:6c:a8:b9:4e:cc:21:5c:10:8e]
            modulus: b7ec2d7550cae0695895494a39a4df9969a4a8b56cd8b41fbb0cec615b6fb64a910835fce3c013e83bcf421ade645590701614b008a3d14380aa841f16955681ec52015434d2332a7821f0b2c359424ff322eecb61fdd22a4b93339a46e75cd9042b3fc88921de3b5b169fcbc09e8990638c91ec76b94d40edca059a45edca0fe79e73f13e78c45fe257350677d12b35d5378691327bbf6106940201b33e4d9caa44de2f7248ba8518443cf0058473708ffbceffb27fa9be1eaf362faaeeea36e7139ac5f0ca1b528394120f2712430e087b383cb99c399492d1b4b8adffd4ccb3809bfce4246d6ac51607124823f220854a1e12d113180c9f552c83ec7c983d
    public exponent: 10001

]