Results

By type

          2022-04-13 01:45:25,429 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-04-13 01:45:29,131 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-04-13 01:45:31.933  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 13, 2022 1:45:40 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 13, 2022 1:45:40 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 13, 2022 1:45:40 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 13, 2022 1:45:40 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-13 01:45:42.444 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-13 01:45:43.722  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-13 01:45:44.330  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-04-13 01:45:47.224 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-13 01:45:47.226 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-04-13 01:45:47.227 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-13 01:45:47.230 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-04-13 01:45:47.344 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-04-13 01:45:47.347 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-04-13 01:45:47.940 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-13 01:45:52.326 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/]]}
Apr 13, 2022 1:45:55 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-13 01:45:56.142  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 33.718 seconds (JVM running for 40.497)
Apr 13, 2022 1:45:58 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-13 01:46:25.933  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-13 01:46:26.022 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-13 01:46:26.134 DEBUG 1 [nio-8443-exec-3] .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-04-13 01:46:26.137 DEBUG 1 [nio-8443-exec-3] .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-04-13 01:46:26.228  INFO 1 [nio-8443-exec-3] .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-04-13 01:46:26.230  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-13 01:46:26.231  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-13 01:46:26.232 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-13 01:46:26.233 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-13 01:46:26.236 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-13 01:46:26.323 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-13 01:46:26.326 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-13 01:46:26.439 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-13 01:46:26.529 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-13 01:46:26.529 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-13 01:46:26.533 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-13 01:46:28.537  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-13 01:46:28.539  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-13 01:46:28.539 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-13 01:46:28.540 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-13 01:46:28.621  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-13 01:46:28.622  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-13 01:46:28.623 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-13 01:46:28.624 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-13 01:46:28.624 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-13 01:46:28.635 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-13 01:46:28.635 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-13 01:46:28.635 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-13 01:46:28.641 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-13 01:46:28.641 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-13 01:46:28.641 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-13 01:46:28.643 DEBUG 1 [nio-8443-exec-3] 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-04-13 01:46:28.825 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 66114269842418920480124352074080615679360463241
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Apr 13 01:41:59 UTC 2022
           Final Date: Mon Apr 12 01:41:58 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [38:f6:86:e7:2a:ab:bd:91:33:8a:bb:14:cf:7e:3c:44:6d:21:b4:b2]
            modulus: f4b13f69a5cd38d1c85857dec4190e96c3c77d68042565ec841fbb8cd1aefce92e6c98db2be85711857ac6a5b187dd4e0299a16b1e5556497d045d88131e3471394ff891a54ad1ce02bca84d03c50bd9fa00e3dd14c607a7d772919415d8b3e6ae30d23d4660deb2f957d547782ccf4a47ad663a53ae21dbbe2e7c673db7dcde4835b3c2cb861547f5bb53f3faf0a8f86d954972862d885492e6b36ffd8d7cc8b1cadf5293ef65382dd62cb547345d9b75b16d0908c87d4fbc5746d2127b240ea528e35a226be75684281f9ba5ec4026931b9f99717d8a5df18bff4c421cbf2891c8e741dc1cc245d653e063469fee895542e43a9675970093cf6c063b172bafd5e6e9f59d4ad0f57b190df03e973177f0126f63872d6d24dccb9e216ec80085784ee3ea9872b87bdecae1a686ea34f961d348b8542a5be29c4921fb113639affc72a916dfa6ff09431a8d40c17040b45c2f844d2fd3d28e347dd7d48eec1aedc589d67b26b26fce4778cc2a2fa8de541f0bf354bd09518ff3ff6b68daa40f19
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 04769576a654a42ad92ea03186c2bae7f1b43a24
                       d425db60981fcd11d091cc86aae444a1912620f5
                       4b0027783afd15d8efc8792602abeb68e8214c1f
                       c7a0824be6096e3d4728e4f1bc137de1b57b0ffd
                       c39d1797e5a8cbd5abf39c8b47e138c9cb657109
                       39123709b3858417aa5bbef772e92da209cc26c1
                       6fac991182004f6dcd5b6d349b5c00021e038f7b
                       56f52026a11f4f72c1dc48f3b38f5a46d713ee79
                       9554e220e60ed78531ee1f30e45e643ae1a72b93
                       5b9a3bcdfacb4bc118454112cfc080d9dec38437
                       290b84792b5805f8b2567a4ca9a1dc6f9d3b25b1
                       c8e8f86fd2be21d099eadc6931350dc895817b43
                       e66fefb6e6bb8814d88d034ccb568226128a00e8
                       e3b68efe7003638f008eb35f953a3198ad081ffa
                       4e9ddb2dd2b571690b5fcbcb27a482a7ecb2687a
                       422105230572981784ec2c14d04a6f7737e19236
                       64cae1c289fdd61b0ce1bf7823233e081b75e47d
                       810e3253d3f92b34b01fc4b1e8cd43bd95eab34d
                       d94f5bcc6a7fd028c90b991e5e3df4f9e0ee82c4
                       3ebd75ad
       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 [e4:e7:ed:a8:72:d1:b3:7f:4f:2d:cd:33:2b:2e:fe:f6:e6:d4:6d:e0]
            modulus: cdc28ab1211249c58295fc439e891423865bee1eae33d8860376d5d827937adcde65938d81c2ed0cb04eb480e9fb5494a5b725bee3a78235ffb7d9a53af3c505be5e4ea8e60038452f58a1a06929a05e93c992f000e2f6e93af5e6271bc3b01ce4d6b886845b9dfe55a6ceafd75b86637f3f3312f36a37c6d57f3ac2c20cfe7f0a82839309501d1db7a7f43153ca4c15eff7eca4cc25ce4a9f51f198ae88e8f626c0ba3cdc6e5341aa0748c022d0d095176bf28a77120608f36baafd6cacdcd5585519be7123f954c302970acfb93fa6cbb05691649f151fefc3eb08b724bfa08468d347878e6d59422df95bd847ae47e18c061a78a9e626b95dec7c807f41bf
    public exponent: 10001

]