Results

By type

          2022-02-27 10:01:21,809 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-27 10:01:23,031 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-27 10:01:23.781  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 27, 2022 10:01:25 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 27, 2022 10:01:25 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 27, 2022 10:01:25 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 27, 2022 10:01:25 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-27 10:01:26.044 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-27 10:01:26.307  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-27 10:01:26.468  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-27 10:01:27.154 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-27 10:01:27.157 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-27 10:01:27.159 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-27 10:01:27.162 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-27 10:01:27.201 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-27 10:01:27.204 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-27 10:01:27.328 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-27 10:01:27.994 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 27, 2022 10:01:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-27 10:01:28.857  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.778 seconds (JVM running for 9.53)
Feb 27, 2022 10:01:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-27 10:02:09.046  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-27 10:02:09.062 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-27 10:02:09.099 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-02-27 10:02:09.104 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-02-27 10:02:09.120  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-02-27 10:02:09.123  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-27 10:02:09.124  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-27 10:02:09.126 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-27 10:02:09.127 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-27 10:02:09.135 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-27 10:02:09.143 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-27 10:02:09.149 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-27 10:02:09.192 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-27 10:02:09.199 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-27 10:02:09.199 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-27 10:02:09.202 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-27 10:02:09.792  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-27 10:02:09.796  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-27 10:02:09.797 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-27 10:02:09.799 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-27 10:02:09.812  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-27 10:02:09.813  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-27 10:02:09.814 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-02-27 10:02:09.815 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-27 10:02:09.815 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-27 10:02:09.826 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-02-27 10:02:09.827 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-27 10:02:09.828 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-27 10:02:09.833 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-02-27 10:02:09.834 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-27 10:02:09.834 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-27 10:02:09.836 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-02-27 10:02:09.865 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: 477550732461822365345699787590111375163707755113
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Feb 27 09:58:23 UTC 2022
           Final Date: Fri Feb 27 09:58:22 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [4a:ea:7d:62:b6:3d:04:15:77:b7:2c:ac:a5:05:57:9d:e9:8b:32:e4]
            modulus: f2013d472ec3a7a482b49df70249a40d161f784224eb8798d7ea2808c671ea2115cbbee8ff55860b7f13de0af4b2cdd1c47b5e53f913e6a62e32309a55b5077c310b1f0f71ad3517ee0d49fdc8ac54b6919cd13b9e5348721c6419f1a6ed44c40106c427a37b475b363236038ab6886da83dafd85a29c775d134011166bab47908d08b32af7bdc4f7b9c5a9bea2b843c0055bc52c862191f24962c1b425a0f72c3b24d4bd83012601f678752ba7ca12a9e6d39e76a04404047fedc03a8e2a83c7fe1c4a85ebb60ef805fcfbad03bcb817a96b4f7991a303230556af99369cae631939ab6a049ecac8fa30135f89f9335b8abef62035cde609e1bbd9880eead5cadd06ffb094c3dc0529e9096b0336945756f10d7e9ae90f685e9ded381672ed355dec8927a3cf5a44cedb19c3454d77b0b810ccf6ab2ab693f544095eda7d8a37c720ad9822ec232945b4fcc26dc02b89a5ec9632de6f980ffbf97ae78fd98c8582f4d0a19a016c934689b41d2b179a8438b2c6f0f187ebba42060f9c8a31bbd
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 26a28b4cbc37cbd8061bbe90b912ddb141ceb3de
                       e939ba1ae410be1173284d65145b178c8d991c56
                       c9f1ec612b3da8d11f76f1dbb6b45868fe3ae192
                       37ed4bd273bdb0b027c7c76d02eabd928b3329c4
                       ab804da566a759f11f8782525d4c48c898654e88
                       1f70ea97e42acea0f38f9b8ab82c7c67c0349b40
                       6860148411f8f2529a94ddf6b93d28b8b62cd555
                       c7ad246955a5315bdb32729d7f8dae49f030dbc5
                       6b273df65f6fc237832edacf385b214ceaf25dc2
                       27799d265f0c4432857feb6ab8efbd92934cc782
                       46494c00c3f81ac69d4fa5212780420379875d74
                       466cf3d9615d58c0e096a19564ed225cca920c35
                       5c6c87bd0af6c17452314134e7e072652dd77732
                       64fa0e81185fb5d0de44fa420a68ee9af308c812
                       0c2f19a3719a8ca413886096939d829da751ab8f
                       a69a5823da58a0234359d4a71c06148ff60e26d0
                       a40e660bf43aedc9d39c3a2ecd17a05063f475e0
                       403d2a3ef908ab8e2509d36ae6d2747dcc59e7e6
                       7a6c9e9339f1e7f7a7a74d3ab2963a1baf5ca187
                       1e2f413c
       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 [c7:bf:37:e2:d8:13:b1:68:28:7f:ad:5e:f5:0d:b6:5d:93:ad:59:06]
            modulus: cfffbe49223f42fe0fe5253034eeae05881ccc15d0e7376ff94179f1a4a01287b6bedd8df6762a2a57887cd6f526792c1f414605f4d96ab5500565a98f56ddf713d3ae7c68a25dadcba14904a137dc662fdeaeb27a4c03c5a5e5361a359d373b47490ee85fbad0ad6089773849f8d7600780e3afe5e71ad8cda61b0bd8f282cbc157f8a9ac73fa08afc0e9e300708804e065318344f1a89098ebc19c4273f2cecba3fbda84ca1391d07b82820424491127313c508ac26d9680000539d4f6df5468627be0651eba5335e6b8a7f349d8261f3a603e48a94a8af169807ad02913669103858e0d52ab425dd1a398c90c9395ab907faa4a6c792877a28b22dd1a022b
    public exponent: 10001

]