Results

By type

          2022-02-17 02:53:35,240 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-17 02:53:39,142 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-17 02:53:41.549  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 17, 2022 2:53:49 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 17, 2022 2:53:49 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 17, 2022 2:53:49 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 17, 2022 2:53:49 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-17 02:53:51.552 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-17 02:53:52.344  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-17 02:53:53.037  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-17 02:53:55.651 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-17 02:53:55.654 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-02-17 02:53:55.656 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-17 02:53:55.736 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-17 02:53:55.853 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-17 02:53:55.856 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-02-17 02:53:56.260 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-17 02:53:59.644 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 17, 2022 2:54:02 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-17 02:54:03.640  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 31.483 seconds (JVM running for 37.748)
Feb 17, 2022 2:54:11 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-17 02:55:31.150  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-17 02:55:31.242 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-17 02:55:31.447 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-02-17 02:55:31.450 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-02-17 02:55:31.546  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-02-17 02:55:31.548  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-17 02:55:31.549  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-17 02:55:31.550 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-17 02:55:31.550 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-17 02:55:31.638 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-17 02:55:31.645 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-17 02:55:31.738 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-17 02:55:31.854 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-17 02:55:31.936 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-17 02:55:31.936 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-17 02:55:31.940 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-17 02:55:33.176  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-17 02:55:33.178  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-17 02:55:33.179 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-17 02:55:33.180 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-17 02:55:33.191  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-17 02:55:33.192  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-17 02:55:33.241 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-02-17 02:55:33.241 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-17 02:55:33.242 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-17 02:55:33.337 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-02-17 02:55:33.337 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-17 02:55:33.338 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-17 02:55:33.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-02-17 02:55:33.343 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-17 02:55:33.343 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-17 02:55:33.345 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-02-17 02:55:33.453 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: 242670254071349045667533292484061754555796378173
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Feb 17 02:49:42 UTC 2022
           Final Date: Tue Feb 17 02:49:41 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d0:ed:23:67:e2:f9:6b:59:7a:95:28:d0:16:e8:b2:e6:25:06:51:fa]
            modulus: c17511e4846107819eba91fd74de055ec6f6246bb993b58ffef0ddb2f0bf226076f8fcc64cb31825131fb43366827bde8b09c450bea1844fd3da377fe9ec449ff64b450bd27eb06d792d862a1abbdb5a3481dcbab6e1c6c9610d3ede03f2e9c17999fcea3b38ba9e89153636089334007a93e4e9d91e2b16c26d7883fd8c182597a059bcee3ddbf4fa73fc9221a84ac2b34271d1e36df68e4529d45443305e97e890311f3f6d0c676d84bc88112be41d57df397fd6b2134cfca0005aa7131071fd2bf7eb035c34479d79351d546d7a55455ad472743986a70c50ab0170f9be1290a36f79dea2640c189c34c4440d19568414881c25ff324b6923cac0cb2c2ac7063578422c49a378eabc5d4d1ddf6c094103923aeb5abc36f19bc6a302250990a8e69e13de34fe73ec9633c52b8f9687349b57fec1e24e162ce6ca58ec258e9514ab7300c82d06f8a5898c483ee44f2f87a6c60266c23bb213b885e0c04094985dc983129fa624a71942ab6b918d0114812ccbf83d358683bc45b800c551b817
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: a816e3cb91aff415f89d036ece30c2f4389bc3e5
                       565f9ae4158ecd341f788662eeaf836083090666
                       ecd46320d065b8c0a9f2910001c781d2207c85f9
                       222725859b493c5e57cd0497d0a6ea3edf89b49b
                       00d6f3ca524552ccea6592275e74288b79b9347a
                       610c0bac5548dec844db41fb7c3de53bdb8ef2bb
                       97b4d7a0962a0700a09d625a43741b11db3d6418
                       7591b695e76b915904fa692495e0282233a36d54
                       06a418dbe01cd0b003a487537ab3524bbff25229
                       9aecc2195c1b4045415cb5268290a7b4157b4713
                       2c4175c41c27a9affc88a3c338fd94c3fa66e374
                       5f3ed3b08270b9fc303c810d103cc531f0af4a35
                       7831b7834f5861f5db511544a4c89f7298e59c93
                       353bd42fe45f879ebe36ef0a43a798455a0ace9a
                       d7f4a3373f5a5dc1fbf2eda82c37c0253208fe14
                       52953eb440001e482f60c20a87dc41c7bf7777da
                       e7d25cb1c7b6a9418cec9fa5e254c7a6abf7656a
                       ecea7bcb2173037b9c29d48257e859bbc8a5dbe7
                       dee8aa4c59c93df2a60f111e7f51305bed0e3e85
                       de6decb3
       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 [03:55:f3:cb:24:d8:c2:58:77:d0:43:f3:6d:1b:a7:4e:17:ee:c2:69]
            modulus: cd95d84b647fb47dc0c4fadec07dde9bacce8fc7cfb6fe4cb1e16a47c72552d286e325ecd794a5d9d8e4afc79297e2454923201c424164e3c7667e3a4e107e53c830da07c83527c0eee829d96e5960f955721002e85335e53427136bd609bfeaa172d46f1fc8d2afc382f0571e8e5ec7b0435eea0328896140cf0d809c6ac121cdbefdd880868eec335d9ea38fd15588108598953a734b2ddb62bff1f3c40b7c68dc485f2d59514f0b59d0834ca86d474fddcf17eee520228fadff4a312d31e1cdc978692e867e45afa4a2c21c0579ac4f96ddbb3d42d4b0d752dc2a6f74147437235bc6d421dd777db6818761b4910fedc113c6433567312afb82448afd96bd
    public exponent: 10001

]