Results

By type

          2022-03-17 23:10:25,203 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-03-17 23:10:25,959 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-03-17 23:10:26.667  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 17, 2022 11:10:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 17, 2022 11:10:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 17, 2022 11:10:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 17, 2022 11:10:28 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-17 23:10:28.715 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-17 23:10:28.978  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-17 23:10:29.107  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-17 23:10:29.723 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-17 23:10:29.725 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-03-17 23:10:29.727 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-17 23:10:29.730 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-03-17 23:10:29.765 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-03-17 23:10:29.768 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-03-17 23:10:29.867 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-17 23:10:30.400 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/]]}
Mar 17, 2022 11:10:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-17 23:10:31.300  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.717 seconds (JVM running for 8.01)
Mar 17, 2022 11:10:54 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-17 23:11:44.453  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-17 23:11:44.463 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-17 23:11:44.499 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-03-17 23:11:44.503 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-03-17 23:11:44.525  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-03-17 23:11:44.527  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-17 23:11:44.528  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-17 23:11:44.529 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-17 23:11:44.530 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-17 23:11:44.532 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-17 23:11:44.538 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-17 23:11:44.541 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-17 23:11:44.577 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-17 23:11:44.587 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-17 23:11:44.588 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-17 23:11:44.592 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-17 23:11:45.200  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-17 23:11:45.202  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-17 23:11:45.202 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-17 23:11:45.203 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-17 23:11:45.211  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-17 23:11:45.212  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-17 23:11:45.212 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-03-17 23:11:45.213 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-17 23:11:45.213 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-17 23:11:45.223 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-03-17 23:11:45.223 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-17 23:11:45.223 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-17 23:11:45.229 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-03-17 23:11:45.229 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-17 23:11:45.229 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-17 23:11:45.231 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-03-17 23:11:45.257 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: 477673488146702971175694381770070996699704216901
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Mar 17 23:08:43 UTC 2022
           Final Date: Tue Mar 16 23:08:42 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [4d:7e:68:93:36:24:14:e9:f2:bf:e8:4c:f0:1c:35:1c:a7:b7:39:37]
            modulus: a5a10ac80e49ac29a7d3e5c835d819eb58a4867ed064f58ef213ed80d68545cbf493aea0116f64b99963a311c31bce2709923fd5b40eb8bd812700efe49bb4c31a52aa16df3c7770fe3f48adc26e653218d5b30da8dc24bec160646e30208c2b4bee4552ffcd0dcb3f0b5089d7830189cb7675860b5f0806a91169e74dda4f104dc922f4a778a47d9802390127e1c0934c8c0ff0ab5324ca5b9920ce469a1d23f9e1b93b29389661da5eb55effba5563ab9d1595ae6a64b10ed9e63a720da9dbfe328d5bb578c528c9c586da27a3f8aabfc0866d3c0281c7e685dbe8e177a9b8be519ebd0cfd469240118ff2b97c14d787deb4580c65ba8af8f6f3bc587d3f4eb99a76ecd90bb930e16e1e49e5bd992d811f97b273339792e15d5778a869f11f32559cc87993c35eb7466c12c381c44784cbe0812a6ddbdd8624637d7a5398581e7417ff6ee75c8bf93ef837b12819be284c5df0abdb3187efe3f6277520693029e61798096df4e2fcef9c6f4d50c977cfe76e2c6a8f6b4075829fe9c5217797
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 1748d1e256b154f9e0e0889b2d6d3a8af7ba3c6d
                       69c65c7508063c47563e71d8505ee04507c675aa
                       5ed6eebc562b29baffccd64c939f7854be28e03b
                       122f05d8dc65c4a5bf1a01c9ba8b2b1f6cf1aecd
                       779c1fb182b1bed5dd27a06c00af26778094bb89
                       4410a5a863797688be87e206487382dc38fbc0cf
                       afbec6f6cda45c4d7cf213800b9dbbfd9994db3e
                       faf8b1ccf5e9151c3415db170c64fe1b6042924c
                       f2de33f5f052992cefca20145910b13924148dc1
                       973d7fee54a70f2c6ca489ba0a15bdd92d3c335c
                       ed5bcf80f7d3efaf637c4be94eb8750be747637d
                       5393648dca3d5052356a46bb538ef30e484db1e7
                       aad8a888caabc6f78ecc4ad1642d0d8b28d2ddbf
                       6c8e04b5a635ee41f9ce744730022a433cbbeeaa
                       700154043e9b032aeb4a2fe786c9aceae140a104
                       35e0f2e1939ddddb02af264e5cb64fe3a52a8ec3
                       e6d25e1b80eab60502694ceb511af232c48913bf
                       9f0300aadda4a7581d2f046f19d13456e9a36da3
                       1dca965b7d1f7fbce8f789afccf3ee122aab24c2
                       2a71903f
       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 [98:6b:2a:49:90:c3:e1:20:85:3c:9d:93:69:93:d1:ad:bb:62:8a:10]
            modulus: adf75b8b3f77a839ea3c1b0dcc5a604c76d94d780a1618e0440a8d157f33a996facac727e9c24ebb925453f7d1676ccfe44be13dd21103dc8e2a2891811f58e1d2149a14f9418411fde83587b5bf77b50d8c54e5417ce40bb57da5b3346cd14421ff823c0066662c211b0c13b77de12f742a682d05f2e99255281ca6793d9fa452feeab3e9116ede8caed8cd8bb13609a532475b0a7cbfd4200d3c7e5c7c758ef0ba6f0d5cecb19407efb684905e5d19d820c770da45b38d72c4bc489a751f9458691209b232cfe44001f78f4c8225df4aec4dbe308881d00fc0e47ff22d3a682cd317a96c929b0b068b62fe86abe4014e6f8f2c1682f7a341d4def65d24e003
    public exponent: 10001

]