Results

By type

          2022-03-08 10:34:25,535 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-08 10:34:26,465 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-08 10:34:27.258  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 08, 2022 10:34:29 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 08, 2022 10:34:29 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 08, 2022 10:34:29 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 08, 2022 10:34:29 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-08 10:34:29.731 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-08 10:34:30.010  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-08 10:34:30.170  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-08 10:34:30.840 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-08 10:34:30.843 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-08 10:34:30.844 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-08 10:34:30.848 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-08 10:34:30.886 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-08 10:34:30.889 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-08 10:34:31.017 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-08 10:34:31.657 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 08, 2022 10:34:32 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-08 10:34:32.586  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.829 seconds (JVM running for 9.778)
Mar 08, 2022 10:35:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-08 10:35:16.664  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-08 10:35:16.677 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-08 10:35:16.719 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-03-08 10:35:16.723 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-03-08 10:35:16.743  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-03-08 10:35:16.745  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-08 10:35:16.746  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-08 10:35:16.748 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-08 10:35:16.749 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-08 10:35:16.754 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-08 10:35:16.759 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-08 10:35:16.763 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-08 10:35:16.812 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-08 10:35:16.817 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-08 10:35:16.818 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-08 10:35:16.823 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-08 10:35:17.502  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-08 10:35:17.505  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-08 10:35:17.506 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-08 10:35:17.508 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-08 10:35:17.518  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-08 10:35:17.519  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-08 10:35:17.520 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-03-08 10:35:17.520 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-08 10:35:17.520 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-08 10:35:17.532 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-03-08 10:35:17.533 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-08 10:35:17.533 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-08 10:35:17.540 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-03-08 10:35:17.540 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-08 10:35:17.541 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-08 10:35:17.542 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-03-08 10:35:17.571 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: 365596617218722161808517527220339616662791506690
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 08 10:32:08 UTC 2022
           Final Date: Sun Mar 07 10:32:07 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [2d:51:ed:61:ef:2a:97:d2:3f:84:c9:b4:a1:3c:2c:c9:25:45:23:b2]
            modulus: e81ccbb2528fbe0413a90528d2fc6fd72a7175acd19fa05c6c46736c19ee75ad2f4707ed51336c88ac96f1a9e857e0ec57f7dce5db3859d90e8790d308a753538fbe4f5a94fd43dbfd73ad2da1ded266d0f2eb7098bebb74015166d7b347360bff854e9656ffce6a46088f9864fe9439be14d2a8e10a9432e30f41de0126995d6f09f40e674b5712a18276cf923f5546c93a7d4bdb0f268b6c3050502c5877fd2ae61c5c65bdc9239d8bd82b5308308bb8c5030608c3b556d7521c3082166c0e5877a78eefe91d568552a1e6627d93cc854d4e4200d1b527b0d1402f9e222c7b25698813a29f31b8ed1cd4d1ca5613229259d87dda3ab3c3943fe8176ee1514ba59014c81f2414462521a2a1c735052a00e00e2f18909283c0d6266a2c3890dba2b6b1748203c2ff5a1125bcaeddf23ead29ffb745e04d9f1ed462e02ad7338c0df6696362cedefda93cde07d0dc092c9b50dd8933d8c132de9b4fbe7733dd585791e818fc1e0a6058dbb9a123af08ff1d0b201faa00d47c262f620534418e83
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 67e8762e457199768cfb881f8bbe9af73e778f5f
                       d8b381fdf53edcdf56251051ebf20ba637cdbbc2
                       fae5863a422151d29748b55513a6d8e3dbdde89e
                       264d89f9bd4667863b93f3e272a1d9deadcc3541
                       6cb824a61fdcda2d6a65ca4b71124e406b7636b4
                       3a2128e3dd793d6935087ea2a2cb9af266a14a31
                       67517cb6b77998edb389ed6de31c70f36f7f5baa
                       13c26932e206eeaeb3451852766d271a1ad08f86
                       0c83f66af8bb8fb287537dc8cb123c94a6b9c910
                       f417d6455147e73ea2cd389cbba398a4b333017c
                       9a91d168367b1fe374019b63d56bb8a375ac3698
                       c1e0a622f77f6b10d323dfc20b8d95ababe54273
                       8422239c0f1a21a70608f284361a9c101742be5a
                       c41af115794b0103fcd803363e444117006b4eec
                       d71b00d068149554b2948ec291ba2d982adac7c8
                       91e9a0f5f6123e3bed231486c9fbb4189da4e5d8
                       cc44234e191aa8b03b9f88beb3d9085c959da5bb
                       f1e908e0103b71dfa590d448cfda874451dcffde
                       68b126244b2e0b942463eed2c0e986f45c22ef29
                       390fe251
       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 [80:cf:1f:5c:ba:c1:34:e7:41:ca:89:50:e3:f5:67:90:ad:7e:ce:51]
            modulus: dc743cb6d102a7ca5f8cde763f9ceb8bea80e2004b501a7fa321679b9c4da92b4dc3b088569412c2003c002745beea19f1220b08d937f7ee1f79ff6a1b9e157f63b94ea383e4363540fdd698761043927b7f5580e3374e5c3317bd275bd3bbb96f818a8e30351dfd573e0955aa5921fcb4eb5f7ae094ca56746913fefe36aff6ce6a6990ef7d86e30b544591e93342b81386a0fd60e9baf6a9c1a35eede2c084f952597ff7f7342d10e8d5844237b84495964da4e797c55976030fd480b09147a98336e738bd0114065fabf891677b53dd2e6c368839c78782db114892eebc48666111053b3c941f0bd09d20e747a605b676af02c88220e957279004893a225b
    public exponent: 10001

]