Results

By type

          2022-11-10 02:56:08,419 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-11-10 02:56:09,263 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-11-10 02:56:10.170  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Nov 10, 2022 2:56:12 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Nov 10, 2022 2:56:12 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 10, 2022 2:56:12 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Nov 10, 2022 2:56:12 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-11-10 02:56:12.728 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-11-10 02:56:12.990  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-11-10 02:56:13.149  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-11-10 02:56:13.888 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-11-10 02:56:13.891 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-11-10 02:56:13.892 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-11-10 02:56:13.896 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-11-10 02:56:13.935 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-11-10 02:56:13.938 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-11-10 02:56:14.061 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-11-10 02:56:14.766 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/]]}
Nov 10, 2022 2:56:15 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-11-10 02:56:15.612  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.995 seconds (JVM running for 9.764)
Nov 10, 2022 2:56:42 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-10 02:57:01.729  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-11-10 02:57:01.736 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-11-10 02:57:01.779 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-11-10 02:57:01.784 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-11-10 02:57:01.802  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-11-10 02:57:01.804  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-11-10 02:57:01.805  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-11-10 02:57:01.806 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-10 02:57:01.807 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-10 02:57:01.811 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-10 02:57:01.817 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-11-10 02:57:01.824 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-11-10 02:57:01.858 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-11-10 02:57:01.863 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-10 02:57:01.863 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-10 02:57:01.866 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-10 02:57:02.455  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-11-10 02:57:02.458  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-11-10 02:57:02.458 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-11-10 02:57:02.460 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-10 02:57:02.469  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-11-10 02:57:02.470  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-11-10 02:57:02.471 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-11-10 02:57:02.471 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-10 02:57:02.472 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-10 02:57:02.484 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-11-10 02:57:02.484 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-10 02:57:02.485 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-10 02:57:02.491 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-11-10 02:57:02.491 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-10 02:57:02.492 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-10 02:57:02.493 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-11-10 02:57:02.523 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: 91004947467823869948326835000018548283237995394
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Nov 10 02:53:37 UTC 2022
           Final Date: Tue Nov 09 02:53:36 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [f1:4d:1c:b0:17:7f:78:51:d2:6d:0e:ea:f9:f9:f0:67:be:14:23:74]
            modulus: dab7cf9a45639359a499ef39bff2941b63fd30987206f1d40e372038ac660df5ba38d6818697565648ec9da3f45dc7e148fd62748cd822a95a663acc99620d1a3f70a0853792af93b444c07789c7a4232eebcefc80e000d290a5199fe7855998bc8a68e43f48dd83c89dcb737d08cd8deb5a9c868bdcc18b559af2edb9985dab0d1dd3724052b9b5d9327dac2a888271b4a4c1a4d94c56679a6bdde10efe71e41975c381a0c82948abe13c4ce7e6bd1345d099350f823126148a8919938c116634df0296e6ee0278d15a2e741d733e0edde56938fcb1445716f867894f5accec4447b25babecc2d58feee6ff5ceea205d9add12edebe761bb82c6c046e3800e0c9a94615b3128529a89be1138361063c2728c2a3d39a079b0fbcbdc7c7636da79a18e6b7f4473474386e43666bd9d927ad3622630d8551e77c2fb9eba453b47eb722d3ec14099d55c76c36bad1e40597098355c9626b7cd484656c27966f6951c24894e114a2f9229ec94ff46ec2d5d613b933b3cede7b4ebbd472fc9e6845db
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3bf95fc6fb2cab451f11cfbe5bc5a33e451bf4b1
                       67fea886634766edb6eb608665a28e777343ce63
                       89235fd027c82434c1bfaaf6c64a10f7a7235828
                       3aa54118b310d4cb0d74e6cc6ef3b1c20fbe3120
                       d271475231cdf771e7848423f40552eab5a38e3a
                       30cff1bc0999467f316ae17c3c678bb9640a5796
                       c34c4a01616c893c5a30e83b2c8c90e660ae80cf
                       ad20f2c4846f7075d44cda9a338ea852b73d7fe3
                       3882fb554379df232b60d362d2eb4ccca03761bd
                       71e037097bf5152cacab73e9e0d3b40ce301c8f9
                       00df750f04b668aef8d8bff1655495eebed01c98
                       3e905f003f367547a5a0af807b47417f626885db
                       8b491c6a84dfcfbda978408f880590caf513ad81
                       65d3dfc58bfc643d6d3e514c6363d9f80dfe64f5
                       22108614b0719dc1c3011ec893af6e34b67db5aa
                       3de9bceaecfcc14a988602375e28d661b1f71c34
                       dd4e52ae5000318eb1573875bc82fd06541d2e46
                       5677e8265ed5b71a47c463a153ff9f8937f81872
                       63d644254ca6133177d431a7c5d936e9c741cd61
                       0af70a97
       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 [08:38:8a:59:a8:82:7b:72:1b:d9:f7:c8:ce:6a:8b:fe:db:fe:29:ee]
            modulus: c43cd7ec2ad917a6c1e5e253b0f359613c4712419a7745ea2d037283c20d9c6c0d2f5b77fa88e825be4a51489d64ac60fd3874860fb530ac4f4ff6904b0f2ef1fd64cb481e691278b16c3980a5840b635fd4c13cf16d8c3a0f5bf6bb3344b01db39986c2b66a9b1ce3b62d534c2101f82c500f8dab547ec56121c55234cccf4ca0bb8930edb2faf71426d3fa31e562ee514dd5ac1f3bdc39b14c1db933f4bf4595d7178dd51a29acae1cf41a51ae4e444d6f58cf82771c18d918f8103fbf70dfa80ed321e1ae5ed1f9a6f2696af29a29b2a30742be47cbfe590fd2dd9265e4ce0ae48a8b76ebe93029639e8a237cda484d1c5fc6462dcb130057aab0744c7539
    public exponent: 10001

]