Results

By type

          2022-02-16 09:02:32,594 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-16 09:02:36,286 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-16 09:02:38.698  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 16, 2022 9:02:46 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 16, 2022 9:02:46 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 16, 2022 9:02:46 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 16, 2022 9:02:47 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-16 09:02:48.683 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-16 09:02:49.985  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-16 09:02:50.596  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-16 09:02:53.680 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-16 09:02:53.683 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-16 09:02:53.684 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-16 09:02:53.687 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-16 09:02:53.797 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-16 09:02:53.799 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-16 09:02:54.283 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-16 09:02:58.088 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 16, 2022 9:03:01 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-16 09:03:02.096  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 32.313 seconds (JVM running for 38.946)
Feb 16, 2022 9:03:07 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-16 09:03:48.286  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-16 09:03:48.295 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-16 09:03:48.410 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-02-16 09:03:48.414 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-02-16 09:03:48.490  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-02-16 09:03:48.493  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-16 09:03:48.494  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-16 09:03:48.495 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-16 09:03:48.578 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-16 09:03:48.582 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-16 09:03:48.588 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-16 09:03:48.592 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-16 09:03:48.698 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-16 09:03:48.788 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-16 09:03:48.788 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-16 09:03:48.792 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-16 09:03:49.990  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-16 09:03:49.993  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-16 09:03:49.994 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-16 09:03:49.995 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-16 09:03:50.004  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-16 09:03:50.005  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-16 09:03:50.005 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-02-16 09:03:50.006 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-16 09:03:50.006 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-16 09:03:50.085 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-02-16 09:03:50.086 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-16 09:03:50.086 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-16 09:03:50.091 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-02-16 09:03:50.092 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-16 09:03:50.092 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-16 09:03:50.093 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-02-16 09:03:50.197 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: 181345682062911118001587663722539290844656458786
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Feb 16 08:59:45 UTC 2022
           Final Date: Mon Feb 16 08:59:44 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ad:d9:d5:71:8d:8c:db:46:8a:7a:7b:d0:cd:37:bb:6d:7c:d7:17:02]
            modulus: ec632725582de0dd6571a3b29d4e2e2b84b5edbfeab562fa57b6c4f752429561a7dc8b23d239cc2c65709625d11d59a68c4dbf71b14e8e5fb15cb931cfe7679b5f8977debd542830f0aa8ad3ac3e41b0a24e6fa5cc7c1708928212396e57b699067c809cf8cf2e98ee3f13c04e094cc294f20d90410f23b86f8d6c3a8eb575bf34ef85fc0f980dc2d341c3e31a775d30abf76d12dee67026fc520f45b6003e79200546e2f090d69011bb754e6ea6473123e5d1cf71e1dae4bbb9f04e830611248afc9077e008683e02a8ba83121cc1c45369890eeefe55877ee01fceb0ad9cfc15e344dc10013c1d9291936300b95ef4194da677bcc0165ba818628bc9fc53916a54e50fd851342971d69befdaf211c5ffc5703b7b1c8749114a0d0f02ca482003af147c473ff997cc45f45ecf8b49e6cbd94ead00fbf3d5b0d0fe209f05a424d80cf527c1a538f219b3a0296ae14098b565fcafecf2c935a645c66f824b080492318e3d314886f076bd4e6ef0d90e6bb66cf93c3676763bd590dd9dce8fa01f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 080afd30a04cca27476362dd501d1b15cdeb9f12
                       5347ca4f3519d09e07bebe5b1bb28452fbde616b
                       72d98369d59aa190cff4f2c7f1228f95466646b0
                       c8bba78b49a0a14490a2131e310aaa70e803ec58
                       969b7277bd5dd94768e9792f58907c3d55dff8e9
                       e91023a1c300b239e2d3f97c4cd9c919a7acefb7
                       3b4db9b664389bfe51d5f3746c1bfc4711f4e7b1
                       309b057b7b911cdab2ab93b259cf4e6bd28e2ffc
                       1f5a9fdd64fda09b7309832b5db0a801a57654e1
                       288646dce567afad55db946fc1f87f6ed14e5f95
                       f0ca3de6f8bd56ce06ebf78391ad70e6c7a5bf15
                       99da692090a7b2ba98612d2736a9e8243687ef99
                       3be8878457f239e22c0114621ee5c44c9ff98c21
                       5dd8e4a1241eef731c8bb38de182f969a3f7cdc3
                       44cfb8043b035c57ea5556d973d843b2e703fa15
                       b844d790453939e73c120ff7c6380bc9ce8c073c
                       4b1eba2392a8b74682ef1a97c59fbe733751bb05
                       4aca8293d7bde56b39526659f88ff6ae7e09ee96
                       cbdae2fa1ae49f4834a1482955fe4809acbd55ef
                       339b3fad
       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 [f3:29:4c:f7:57:b3:dc:9e:08:7f:a8:0e:d3:cd:ac:c2:b0:b8:44:8c]
            modulus: d5267a2d7af4afda55598c8dea76a7f2ea8ef9390535b97a5d38ab1bf02a377a728a7fa31c1b5d4bbfa1f3ade455525ee8a0bbdf876b0d9fb93f268ccf4eacf1e4e2e1b4c7de1b56451af88c175c9fbda44bf8a1059521298f591da3cb2ef3102640db96abc83c43706ed6445f65b3d87b5f4925608d49ed276e8f5cb10427d0974e2136837656b551020613629352b9c27ef84d1cd52432356ffbaa7d09bf0892e92c930cad13bb5ad44058bfa44397f7f2164e54d61788371a35f4b5db0d5da056e212c7e1cb4e955f02080ab2c9afe0bf74e792ea967a81d1252b04640ee11beec8f6334ff63fc29e3f1c779c535e811daf8f792aa4abb3e7edce7d84d86d
    public exponent: 10001

]