Results

By type

          2022-01-26 23:07:04,048 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-01-26 23:07:04,769 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-01-26 23:07:05.416  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jan 26, 2022 11:07:07 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jan 26, 2022 11:07:07 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 26, 2022 11:07:07 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jan 26, 2022 11:07:07 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-01-26 23:07:07.616 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-01-26 23:07:07.894  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-01-26 23:07:08.064  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-01-26 23:07:08.634 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-01-26 23:07:08.636 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-01-26 23:07:08.637 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-01-26 23:07:08.639 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-01-26 23:07:08.671 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-01-26 23:07:08.673 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-01-26 23:07:08.761 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-01-26 23:07:09.353 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/]]}
Jan 26, 2022 11:07:09 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-01-26 23:07:10.185  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.717 seconds (JVM running for 8.032)
Jan 26, 2022 11:07:41 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-26 23:07:56.019  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-01-26 23:07:56.028 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-01-26 23:07:56.109 DEBUG 1 [nio-8443-exec-4] .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-01-26 23:07:56.113 DEBUG 1 [nio-8443-exec-4] .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-01-26 23:07:56.129  INFO 1 [nio-8443-exec-4] .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-01-26 23:07:56.131  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-01-26 23:07:56.132  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-01-26 23:07:56.133 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-01-26 23:07:56.134 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-26 23:07:56.137 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-01-26 23:07:56.143 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-01-26 23:07:56.146 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-01-26 23:07:56.183 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-01-26 23:07:56.190 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-26 23:07:56.190 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-26 23:07:56.193 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-01-26 23:07:56.760  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-01-26 23:07:56.764  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-01-26 23:07:56.765 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-01-26 23:07:56.767 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-01-26 23:07:56.779  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-01-26 23:07:56.781  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-01-26 23:07:56.782 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-01-26 23:07:56.782 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-26 23:07:56.783 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-26 23:07:56.797 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-01-26 23:07:56.798 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-26 23:07:56.798 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-26 23:07:56.805 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-01-26 23:07:56.805 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-26 23:07:56.805 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-26 23:07:56.807 DEBUG 1 [nio-8443-exec-4] 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-01-26 23:07:56.836 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 482245100418697437614678192624462338017221402281
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Jan 26 23:05:27 UTC 2022
           Final Date: Mon Jan 26 23:05:26 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [55:d3:c4:67:a9:06:94:91:6d:e1:03:b4:73:e6:d0:72:78:14:30:b1]
            modulus: bddf99a0202ff7aae7ac125cde5b793fde70fcdbfd5cb67c5c10cc5664eab39066a05043255066b3473175f8891a0a7b73d5e7c6976874bb03005ef3c4fb4a10120bd7b2994f3d9b1b8ffb9743357866b4eb3850585b7c5016ab6efdbbf6dede73e3b08ba39c2e0617815486b557cb5d3e2772c8d9e6500d6a268624a6a44165ae766d812aa9100a5a54e527987786e9d89be6c0fe23e98e2b07c33ead4d17902b55da753364bb3d1cee4c201e72dc17395c3fa04f7a19dc4c0dc1743e316a80d304f7b103c5e36ffeea8fcb1da576d7c62cc94a916b9e9722075d816149e7c6b32195fb90bacf0b31338d70f190451c7f438847c877c003878efc9062221b403ee315f2f142873b28d2626825338e07e7c8da75ec42266ba5ef42a56ea8503816037e6d9952cd5ec0b561e1008629a38956ee61a292faeaa3484aa688210c01bc683f5b329c3bde31599e07680125ad7510b9ad46e094e2a2e91d8811d357902c275d77edcec50f33666ad4fd8b77070bd938dc0f09c1d5fd75f61d753c63f7
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 988c4ddd3a5134ef6073cf75aab3c1765b7db0fc
                       c64abb35c9c2077e85febb8821596ee39a610545
                       0da7789e6ea83a11cef9e07c6b1c820d5453d4a3
                       a55c50c1f8e90a31fbfa99f73121c07df54be1db
                       326e54a4852c6251a1e9f7a490c2ba143926e3f2
                       2cfd933ac2a58c0d1a1a5b2c481fb9e7157829af
                       19c30c1d5c665652f930a56b458340c4992979f4
                       c7d76f06b4af7e4583dfce2a9546cd699571a50e
                       547f83442f640634b0d74d3b6ea9270694928a99
                       f3ebc88b460b4eaa3203b823d739c003a3f19833
                       fe8e7af9944fafaeaf2fdbfefc8caa3b0fe963ab
                       f136287d7d580dc205b4a99109c38e8cbd7d0a14
                       a389b58ededef32571e360c2d2e18e8f6f6f8f76
                       84558212da519fd638e9b7ffd88743ec0cfe9f43
                       4d273418aad066cfad43153701bacbae16677c8a
                       d94a96b94d0b0b6b2623908c81f7878e043d32a4
                       38d8de4095de55343c30891ef5b96da584cb1e1e
                       639c9dddb8c630de1e6eaa9b14088f5c229e3685
                       505dc569b00f8e452694f8698e4835101877ebaa
                       f406dbf8
       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 [19:29:5c:b7:40:4b:24:83:17:57:6d:24:6d:d8:fc:ef:3c:1d:25:30]
            modulus: aa377a8d9fe142c5ba9d7854b947cee96ac2a7b808bdc9a5a24c347ac57687714d8887aa9dbc0816214da377d918074f0597c3aaa41b951650c2cba6f6528774d2dbf4042cf8f257417a1caf96e6f4db3c6944eb4df44e25df6cd7522db91efc652200fece7a51b2a38287560c12478c754287bd8e04e4485aecb66be170034ae474691dbe2a57f01ea7cf7e8c863cf7ea7414e09990464ce6de0968579f3574a7c0a4796257be589a2b9cae9b64091203c5581f07a915c3e03f19498e4a05a5fa31e7effd6b7fbd7629003416f1bdf08ef107a1bfc2e4dd2ffa7172fd636a727d3c476501dd2fb8ee201e905e826b9588651576e1c2ac26adfe17305d8cc24d
    public exponent: 10001

]