Results

By type

          2022-05-31 05:06:47,201 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-05-31 05:06:47,802 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-05-31 05:06:48.275  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 31, 2022 5:06:49 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 31, 2022 5:06:49 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 31, 2022 5:06:49 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 31, 2022 5:06:49 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-31 05:06:49.920 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-31 05:06:50.108  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-31 05:06:50.219  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-31 05:06:50.669 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-31 05:06:50.671 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-05-31 05:06:50.672 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-31 05:06:50.675 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-05-31 05:06:50.702 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-05-31 05:06:50.704 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-05-31 05:06:50.778 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-31 05:06:51.208 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/]]}
May 31, 2022 5:06:51 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-31 05:06:51.890  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 5.198 seconds (JVM running for 6.24)
May 31, 2022 5:07:17 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-31 05:07:34.005  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-31 05:07:34.012 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-31 05:07:34.046 DEBUG 1 [nio-8443-exec-2] .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-05-31 05:07:34.049 DEBUG 1 [nio-8443-exec-2] .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-05-31 05:07:34.059  INFO 1 [nio-8443-exec-2] .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-05-31 05:07:34.062  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-31 05:07:34.063  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-31 05:07:34.064 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-31 05:07:34.064 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-31 05:07:34.066 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-31 05:07:34.071 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-31 05:07:34.073 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-31 05:07:34.101 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-31 05:07:34.107 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-31 05:07:34.108 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-31 05:07:34.111 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-31 05:07:34.574  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-31 05:07:34.577  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-31 05:07:34.577 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-31 05:07:34.578 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-31 05:07:34.585  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-31 05:07:34.585  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-31 05:07:34.586 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-31 05:07:34.586 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-31 05:07:34.587 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-31 05:07:34.594 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-31 05:07:34.595 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-31 05:07:34.595 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-31 05:07:34.600 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-31 05:07:34.600 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-31 05:07:34.600 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-31 05:07:34.601 DEBUG 1 [nio-8443-exec-2] 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-05-31 05:07:34.624 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 406166284219211281734109507062969232695150233285
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue May 31 05:05:15 UTC 2022
           Final Date: Sun May 30 05:05:14 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [96:09:94:44:53:5f:a2:47:33:e3:81:3c:97:e2:17:4f:7a:2c:b3:c5]
            modulus: de2d15852920d72630b2b44e654dd49ade7282096214b47b2177f417bbb0a6aee648be4e2400d69f1278c909e4ea9a57128d5580b171fc44daa55c8180aac826629134dbb707870d80301533bc280f466ec38932066d1f1b5696b30eb0cc2a14fd4c2655358d6b8585da6396b4040a5e5e7ea939dcd2044612a346f6dc930f7463fbcbddf47eb783029c9c0ab2dfc98c2da9e208e6f23826fa9d2be70c4368f14ebc71a9888311079f5c48b74c99de2b3cb7324dec8478339871b2a1440e4dd0c328f23da80b73005928848acfd41506c9d149c4d71f95d6065b32578ba1a48015099a7bebb62965380381be318158b5d8a59b1c6aec13fb9bd9a1d7bf779e05b5b70724b8c57faf2760961515af5c6bf4ef081a1b21d353ceced351e0a4936848ad62937e891e8506db279f9035a044bb43ec26254ef50cbc9bbf290e5cedb348665cefa681e466561f5ae254d2a7af3e1d2df2168276572ba4f9bd6db610d3c9ba96621258d0d99bc4dc3c67f3024122dfea4760ed7185469fc9b664d7fad9
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 4e4b5659c43e8d15d4f4c7c8580419f784d9fcfc
                       09debcf3406ebe4bd120e14886235b6ea0d8e8c3
                       b3ac9bd9e160697718bd31ce75c523df1ed669f6
                       b33661310e5ca4c7a6f061021a06da20c21017c2
                       d5f7c0c60c05d209fac7857cdf2cde3a8f69dbec
                       c5b6189b852d4c76607eae9a72cef716b088a9c1
                       58cca062772280a9bd13311c7daa6d147a65b286
                       dbb39c9e20f285549efee6c016e44d8ba7cdacfe
                       f613d964ae0feba86bab12573e5c88a056fea648
                       d5bb9e10d5eb9e45cce195d74ba649468fbfd17d
                       1ccbd4cb38542d22d3374c3f1f8af54a79f07af9
                       d7c27734dd54da34dddf4eaa729a01c21ab4ad34
                       ee50a7dc0a216931ce35445ce583230b25af30ef
                       84dec4fdba6f7a0c5db6f459a90cb833dd992308
                       61e775dc41694040a2812474ed53be6dac7a387c
                       5ac7f52f24b0e845a73e06e6dd36b892be130a79
                       7f183406ca129277267c4736892bf2faca2c2016
                       351b6e55c308cc93c785932b407bb925937f49d6
                       aab87431c943834d01f8733517a5181a049b2e64
                       87d6866b
       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 [43:d5:e8:bb:69:e1:69:25:51:63:8d:f9:4d:c4:c3:38:ba:2d:15:fa]
            modulus: ad47763b7dac169f7b97e038b60df79d390ffb2e36f38fe7bf06866a785498901459488e7e2f239bf339b955401ec438472e81c9c164e05305a6d958862e516f05f6e9e488c45ad0b3b8fde0e5ef6d8db6a2e35767dd324f44175a4418e1463065ae1e1f0ce4b5621cc6ca29cb2ab2501cf72e5b52d5aca7004818b4ca1d14fd2bf60ad6a2df04592ef962d8cd0086a5de4a52e8968bef49e05217b366ca0fbdef0fc339db4519a71351d69e915db287813c1d24186626fa2df2960e823df87fba939e64c5e4accb178efda2fbd6b8924c4e84cb2ecef3657ce62d47866bef7d20da7f6818f621e96b1de11ece54916991f8d539e0f8e0a16376c429a3d1f81b
    public exponent: 10001

]