Results

By type

          2022-06-20 02:32:06,354 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-20 02:32:11,144 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-20 02:32:14.051  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 20, 2022 2:32:23 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 20, 2022 2:32:23 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 20, 2022 2:32:23 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 20, 2022 2:32:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-20 02:32:26.349 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-20 02:32:27.831  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-20 02:32:28.353  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-20 02:32:31.837 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-20 02:32:31.839 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-20 02:32:31.840 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-20 02:32:31.932 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-20 02:32:32.141 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-20 02:32:32.144 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-06-20 02:32:32.738 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-20 02:32:38.242 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 20, 2022 2:32:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-20 02:32:43.447  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 40.597 seconds (JVM running for 48.227)
Jun 20, 2022 2:32:53 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-20 02:33:39.131  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-20 02:33:39.140 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-20 02:33:39.352 DEBUG 1 [nio-8443-exec-6] .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-20 02:33:39.355 DEBUG 1 [nio-8443-exec-6] .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-20 02:33:39.440  INFO 1 [nio-8443-exec-6] .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-20 02:33:39.443  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-20 02:33:39.444  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-20 02:33:39.445 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-20 02:33:39.445 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-20 02:33:39.532 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-20 02:33:39.543 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-20 02:33:39.630 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-20 02:33:39.750 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-20 02:33:39.831 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-20 02:33:39.833 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-20 02:33:39.839 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-20 02:33:41.243  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-20 02:33:41.245  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-20 02:33:41.245 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-20 02:33:41.247 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-20 02:33:41.254  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-20 02:33:41.255  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-20 02:33:41.255 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-20 02:33:41.256 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-20 02:33:41.256 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-20 02:33:41.343 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-20 02:33:41.344 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-20 02:33:41.344 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-20 02:33:41.349 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-20 02:33:41.349 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-20 02:33:41.349 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-20 02:33:41.350 DEBUG 1 [nio-8443-exec-6] 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-20 02:33:41.549 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 641487588505485877865294967011549807342749201683
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Jun 20 02:28:24 UTC 2022
           Final Date: Sat Jun 19 02:28:23 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [81:6d:99:bf:84:29:86:3f:f8:f2:24:15:a3:38:bf:c0:bb:a6:3c:e1]
            modulus: a0045a88f9af0d5b768d4632c4cbb863afb3609bff339a0793f2d14cd66e844a7bb5e1c95f66bcbf635a8c1e54e026d31e4630e473afd3d2a6657c3bafa01eb79073def910864281e820e71a738210623bb8dfd56b3d5c2c8c5ebf30393f7001a2447d729c1dcb75ef1c1259ace2c70ef72eb1aaa40132b3194c10b6da32741226f01080ccda262207bf539f08fd7f98718549b00e8d160a77c2ea150ae1ecd2af4c456b5b98a287c0dce1ebc3cddfd79a167eeeab92649c84978123ffbc0ccc9d6ab5c4b53e6bb21a5038f0b5fbe15e15f26662b1d9d614e030099ec4e7012b26d3f6603b177b46f11cdde8aab1b07f52fac95a8a7c65ed278ba50d03b64dc86481209d5f4b769341e364dd2d399ec01f6d785ca7438b330d2955a6fb3888240a5c0f95c5a96fe6cfae330dbaa71b0d25197105cfc2a2c53713dd154e388dffec7ac785178d54111045d49da4bbffff359379c5552ef04f39586f7d60e43f9826c62094ce03c4dc70372ee2ec6d0b18b4337cabf8cb5b3ff9732e021507f9fb
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 50a3eaf829f3c66260de210dce9ee7b32db3ad34
                       d52ba657dfda9d8b434f593248dfbdc45563577b
                       a3cff8b32761aea10e4899592126ab11e6359e32
                       162cf998b25622c339afbd46d54d20011b312b1e
                       ad46d9b00bd7a13649fdb821462c946210c8af88
                       b97f502b6b01bb0e925b1f079685656b3ae22cd1
                       f8121bc351fff8c9337b2452f53bd93f05285819
                       4ec6008ca9eb02648617f7ce30442bd895cb3faa
                       58b327cd99c070eed6f59d4f03423c2642af7941
                       87f11232f6015b54f656496d6f7f1a68313d9497
                       1df68697203069c54f7488818b5e51c0088a1ad5
                       44d87c3c46f7e9608d19dbdfa403d9a4e4cdb531
                       4a867f2b07a496e710dfac592af8ebf3276b8365
                       06cae321638af27c015ba4fe682321b805399991
                       45a23d805ead965605d78de9572d24f0a0cd688a
                       d389b4cbdf8854b52234ca2e37bf5111af43c6ea
                       9a08dc5b0f698286f4c957f7a7ebfc88fe3c037e
                       5f0da9ab47863215aae735bfc2774b13adba900e
                       99bc94c5b3dd4c1e18e3eefaac57dd30233e6819
                       845c11b9
       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 [c9:80:81:43:41:1d:21:94:05:82:84:5f:f0:7f:ca:6b:f2:e5:5b:e1]
            modulus: dc0220e9ae9cc367e0281a358fae1483bd0fd0add826c3c64240a71a1802aed2677bcdd0475450ba749e435b1b992c47546ff35ca4629606f0b86ac34f200d54f9c6c67e7c96d74da36a9a79b3e177ec36cb5c450cfcf4cd9a23074ae079035f22574e4d9d3d85996b4af41f8932c2416e51094f2ae5d8bf7c37c6051093c8545cba28a22c7aac81e29640605692c56b0ae11d8750f9594a4ba6b0c0601e5e1b9829531612ba065385256a920e99b770f5948d60e528fbe809193918f561cd5d05f6492566aee3d6edd6bf32e09f04f50c71782b7da2c5f09d7d551280476c2303fa8a12396723152da5630d54944d2f20ef5406e666580e9fa439742728f841
    public exponent: 10001

]