Results

By type

          2022-11-21 09:39:52,205 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-21 09:39:53,204 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-21 09:39:53.909  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Nov 21, 2022 9:39:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Nov 21, 2022 9:39:55 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 21, 2022 9:39:55 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Nov 21, 2022 9:39:55 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-11-21 09:39:56.549 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-11-21 09:39:56.834  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-11-21 09:39:57.014  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-21 09:39:57.820 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-11-21 09:39:57.823 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
2022-11-21 09:39:57.825 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-11-21 09:39:57.828 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-21 09:39:57.868 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-21 09:39:57.872 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-11-21 09:39:57.992 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-11-21 09:39:58.740 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 21, 2022 9:39:59 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-11-21 09:39:59.869  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.566 seconds (JVM running for 10.586)
Nov 21, 2022 9:40:26 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-21 09:40:46.384  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-11-21 09:40:46.391 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-11-21 09:40:46.429 DEBUG 1 [nio-8443-exec-5] .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-21 09:40:46.432 DEBUG 1 [nio-8443-exec-5] .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-21 09:40:46.452  INFO 1 [nio-8443-exec-5] .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-21 09:40:46.454  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-11-21 09:40:46.455  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-11-21 09:40:46.457 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-21 09:40:46.458 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-21 09:40:46.462 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-21 09:40:46.471 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-11-21 09:40:46.475 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-11-21 09:40:46.530 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-11-21 09:40:46.536 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-21 09:40:46.536 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-21 09:40:46.540 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-21 09:40:47.100  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-11-21 09:40:47.103  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-11-21 09:40:47.103 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-11-21 09:40:47.105 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-21 09:40:47.113  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-11-21 09:40:47.114  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-11-21 09:40:47.115 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-11-21 09:40:47.115 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-21 09:40:47.116 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-21 09:40:47.132 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-11-21 09:40:47.133 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-21 09:40:47.133 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-21 09:40:47.139 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-11-21 09:40:47.140 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-21 09:40:47.140 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-21 09:40:47.141 DEBUG 1 [nio-8443-exec-5] 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-21 09:40:47.172 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 465358164499761521447923423423577604773945153927
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Nov 21 09:37:07 UTC 2022
           Final Date: Sat Nov 20 09:37:06 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [43:f5:0f:52:8d:d2:ad:be:5d:b2:46:a9:04:e9:d8:90:61:57:5f:54],[56:66:d1:a4]
        modulus: c3a455713498dd1972f4ec13f55ef9ae2a34ae6998b49c60b4ba45afc69de920216d75de06cf90f3fc14534e04d7bf690900403d23e578591e818b043e8209660814bad6ebc0205eee8d6044dcf66a0e125b7b18adee6c3ab1e8ffc2268da78cbbd528795b1430e6349f95f409bc3688d20afe09c852934bacd2ed78cd216da90f5d79c6acdd5f9c736b10e4b4b50c0c992ede36c71f13629731da068061d9b5d14d7e221b55b4d99934bd3e55b5675b66bfb479efae786018cf863fa981e355e958e30f52b6ea76a113a4be06ee6676a60fe93bcacab9970304d4b6b6eafba95200189e27fd9004290441ef2b8c71d47a6bddbc30ed53b53fd8b88b840dec65af71a86c13150ea1d58cf911105ffb1526f5a39639b988fed52ec388e16fa6b566418b63fa03fd46bd6f3637f3ffce1fa1c3290cddd6a7f5111d0dcfe19a3cea577c6cf2d45051d537bc6de1e3fd01abf3ca416be142c30a01888084b3d0f453c8641cd866b41f51b84e173a95ca178d978ed5f72744968d36a9bd31c1ebd167
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 60b5adbc728de21955345a60a800ef6558d440a8
                       0a38562bbe9bd1dd7c26bfbd7138bd4271636ff5
                       0968807614d4ec3e674e1fdf0b1f16d8053bc9bf
                       aab775769802dff1022f230549ffdc85fa41fe8f
                       f3cb49b72cdd4bde218dc6a7ac842ef65fd4f726
                       a37c6c1075484b1c51d093f9662c873d8789cd44
                       fa1dd09c9369c24114bbae7c7e3d201ff0e039ba
                       db5ec0a6d8a592d05a9adb87b0af55e5ec7f7fbc
                       3ab0e522509d6c4bd0e69c7ea607266bea772543
                       4d80c7129b035103a9a3b0eb295a3e2ee8e367f7
                       ddbe3640a7f9586d2ce46c39fef6a7fcc6afaf00
                       523ca9c8f1cf0efa216008b3e49110f487e844bd
                       cdda07c958fbe5a6d814596d4c7779c467fd1712
                       6a7fc588cbde2fd51e695b1f40e0918406a995c9
                       dcdb5e063d1f0f309eac985fffbef1ce797ad5ed
                       8906ce605684ea721aa98fb302b6fc00e387bd26
                       e98ab1cbf89d3dd2e0214d5bcc366dcc42bd32f4
                       6485d26b81835b2e3097029b64dc0c4fd06c616f
                       da6eeebf36b6757458791410bee104f85f6d2d2a
                       8fd8b4d0
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [CONTEXT 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 [4b:58:a6:37:0a:6b:1b:fe:74:32:a6:20:11:82:12:a5:21:ea:64:bc],[56:66:d1:a4]
        modulus: c164c632d4275989663b44dee099d33a1882c9b2013eb9fb268a48496bd097579a17837a48fd6cf8dda12a179d1d1a7e61e150a2e95d6bf5acda37872ec0a47efc87fe2edc91d7019a34652a5b37e87df6bea563b147354fe5b9c204b2898527e1f9647f88bcf54d3e0422edd2f27dd15984cd8228b5968495f28f7d64afc4758f5a7ed2ed8b5416ff21761f35ea90a7ebe9b757e498c1e805948d19cd197a915a0a8bad35c6540d4f9569986b6035a595bb66d7fc20ceb92e230a93ef9a95e54300b5dc7a19633255682f144042b616f8ec3f941180c9a5a86cd1d2ce511c428bf9b8a14c2055e4d1fa6b96f66b4877be8dbcde12dd6f93211bdbff40e99517
public exponent: 10001

]