Results

By type

          2022-03-24 02:54:41,130 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-24 02:54:42,305 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-24 02:54:43.113  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 24, 2022 2:54:45 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 24, 2022 2:54:45 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 24, 2022 2:54:45 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 24, 2022 2:54:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-24 02:54:45.933 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-24 02:54:46.218  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-24 02:54:46.395  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-24 02:54:47.174 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-24 02:54:47.177 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-03-24 02:54:47.178 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-24 02:54:47.182 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-24 02:54:47.221 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-03-24 02:54:47.225 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-03-24 02:54:47.352 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-24 02:54:47.982 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 24, 2022 2:54:48 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-24 02:54:49.022  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.781 seconds (JVM running for 10.686)
Mar 24, 2022 2:55:16 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-24 02:55:29.126  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-24 02:55:29.137 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-24 02:55:29.177 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-03-24 02:55:29.182 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-03-24 02:55:29.210  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-03-24 02:55:29.213  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-24 02:55:29.214  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-24 02:55:29.216 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-24 02:55:29.216 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-24 02:55:29.221 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-24 02:55:29.230 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-24 02:55:29.233 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-24 02:55:29.286 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-24 02:55:29.291 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-24 02:55:29.291 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-24 02:55:29.295 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-24 02:55:29.995  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-24 02:55:29.998  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-24 02:55:29.998 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-24 02:55:30.000 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-24 02:55:30.009  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-24 02:55:30.010  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-24 02:55:30.011 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-03-24 02:55:30.011 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-24 02:55:30.011 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-24 02:55:30.022 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-03-24 02:55:30.023 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-24 02:55:30.023 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-24 02:55:30.033 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-03-24 02:55:30.033 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-24 02:55:30.034 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-24 02:55:30.035 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-03-24 02:55:30.063 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: 232518108762543494068095170223688047836379126085
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Mar 24 02:52:27 UTC 2022
           Final Date: Tue Mar 23 02:52:26 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [c4:1e:e1:de:cb:40:7c:12:9b:ce:5b:e0:08:9a:67:be:81:4b:fc:48]
            modulus: bbaaa8972efd4bcca5e2a50056012656a6ecf3b23c58b7d3f5619b01cde654e62d6f1798890852797a6d58f0484509d5e244087b3ff1fdc9c9be40b9681d82f6ce1fb1775930efbd03711983e372243297ed6c9f12c858a6e4150643bbd93a5de0e4231e4313dfcaac71a9fa9fb66071639673de2b4303460ac73681f0f8e42b5c370d461067a697db4074d55a5439270579e17a7212d257406ab379d33da95ff4c7912734e2b0ad32e47b1194b75352c5fad728bf6448e1695d36411ba14884e2af539f76b1253df79a42bbbc7a77db3f1fcd41b758304c0857d9878feb1859c963b554b5093f19b31520b052ac377b6974d97f4ae3e94a374e0d86571c426afa07af24e2e8faaf5c3b302141f8d8b90e4cdb43a2421db0af45d1a9bffc5881cfb74d4d991bf3e163ad3444e9015e5567692b0a6baa397634df40fbdbb4d75b90485d5a41cc8376878885504735b73110ff1df5b6e93c3646e3ffe6fd18b53c45391b00420072ff3e9d211a39e54faa8b2659d6de263e6ae8af8f687777079d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 6b5c0d970704b681163db6120eef0d075b2cfecd
                       14ea82f770175d43cf380eac149cdfb84380fc8e
                       3697832d19f842733044a24e1216caf086a3bfcb
                       f5ba2458c4799d723082a7630c9d38bcf1488340
                       68ae4bc5f813330174576580054946367180adbd
                       babc97ec1c80ca2eaaef9b5b6e44bb287f49d5c8
                       63d36ac1a4bbb0319f9977d90ced5a0458ec55d1
                       5ee918944ffefcf9f0c8a7535028d22c3ba96c10
                       d5431447229354bc56fb10840def89c52f96f33f
                       59c6599f8a8b746312db28affe9db7a5e063ff52
                       b7e055fabccee7607bd0c09c54b07a090863f34e
                       aed0f81866986d3d45ae80882b6172a6d52a65c7
                       0e36ef1d937c560ef83544474f1592af778f8ac4
                       21ab6a57e6d2d4579716d36fb3c449a9f768f48d
                       56417e84334979090225afb945f0f1e205505122
                       648e1d6dd7675d81fef5e107063db8af97351c9f
                       9aab2ed7da38f372fe16cf2d5aa88df870699398
                       4366fdc5889876377c3ab45b2c01a41c85658201
                       eab4a9729cd3358ff9c08f313526ec71f5d83696
                       74a67cc0
       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 [cf:74:d0:75:11:f4:2d:49:df:f3:bc:dc:45:dd:47:12:c4:2b:71:89]
            modulus: befc74dee09e3bf8c7cd40bd7bc2ac02176bf8ece8c9efa835ceb5b2f81f22ef9f8b1818f02f76ea9f5f0a65aee85c3f2872495fef9724c9b668a745fb17f1220f4bcf381fa1d213ae3263cbfc9ecaf9a4f0954e781b90d007a645d8138bfbd3868db96f6b1fc98495375f21e733f94de2beeb4ffff147eb95f5eb623db5b17bdfa060fc8d7f3d3577ea7c60b08c53a04f5e79ef4acfdcc37d81ba9f37e33c9d8ccf5d62ac2c1f218f4789bf7f8f29e3a615d3979f7e3ccb28b654122d69def25ee6c33a4b5894324308ff695f2847d55557524f4dda25b3eb70ba0485d6b9b8ba12c6db5d8312684b5568933ef7536c890e1ae359c922ce1e01562bf2de12ed
    public exponent: 10001

]