Results

By type

          2022-08-12 05:18:16,834 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-08-12 05:18:17,672 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-08-12 05:18:18.366  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Aug 12, 2022 5:18:20 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Aug 12, 2022 5:18:20 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Aug 12, 2022 5:18:20 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Aug 12, 2022 5:18:20 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-08-12 05:18:20.835 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-08-12 05:18:21.114  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-08-12 05:18:21.279  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-08-12 05:18:21.974 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-08-12 05:18:21.977 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-08-12 05:18:21.978 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-08-12 05:18:21.982 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-08-12 05:18:22.021 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-08-12 05:18:22.024 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-08-12 05:18:22.146 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-08-12 05:18:22.721 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/]]}
Aug 12, 2022 5:18:23 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-08-12 05:18:23.581  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.438 seconds (JVM running for 9.124)
Aug 12, 2022 5:18:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-08-12 05:19:06.242  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-08-12 05:19:06.250 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-08-12 05:19:06.287 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-08-12 05:19:06.291 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-08-12 05:19:06.308  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-08-12 05:19:06.310  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-08-12 05:19:06.311  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-08-12 05:19:06.312 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-12 05:19:06.313 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-12 05:19:06.317 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-12 05:19:06.323 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-08-12 05:19:06.326 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-08-12 05:19:06.363 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-08-12 05:19:06.368 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-12 05:19:06.369 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-12 05:19:06.372 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-12 05:19:06.872  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-08-12 05:19:06.874  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-08-12 05:19:06.874 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-08-12 05:19:06.876 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-12 05:19:06.885  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-08-12 05:19:06.886  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-08-12 05:19:06.887 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-08-12 05:19:06.887 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-12 05:19:06.887 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-12 05:19:06.899 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-08-12 05:19:06.899 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-12 05:19:06.900 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-12 05:19:06.905 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-08-12 05:19:06.905 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-12 05:19:06.906 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-12 05:19:06.907 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-08-12 05:19:06.933 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: 183182957540865605175456255719735675814084943456
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Aug 12 05:16:18 UTC 2022
           Final Date: Wed Aug 11 05:16:17 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [23:c7:aa:87:12:52:f1:7d:5e:a2:f2:16:37:7a:4c:6a:cf:97:10:57]
            modulus: b3ed5a7667f1ae7a00ed71ac5705734fedaeb90db38b1126fd29cb35666e6fcf06a0863488f1d0aaf012b15bdb7371776654f99155148395a1bf7e2a963b4ffef38db23e226f03b7314325747749046c7716a38795ef5a4f7c15070a07f0b9a84135e740158a1a2926bd9773e8b4d3f7f7eeafbdc977d92edf5f676e3b88982f46f848355a7b8d95ef71ae8a145644b8da0e56dfa19b600119cbb0bd59fb1d3e244cf7333d52bab1ec4736f94cc2d62a4cf4c4329a04559b9bb166ee00b568c39c9618038083e1a84d99232cf519f404c53271356d745e3ae5d5ea74e43b9339de2a9c45f0144a08687feab6afdda81fa4e5f7ab827ca2db41cf341a6e12cdfc6bb6636ebcbee1da327d141d56ce4c71fa2728779a864ad5672b6c0451f3ff45ad6e0b4b7607ca84570fb69c2ffa7299797a34b67d009c1165fd96becc2617111e7e2a437ce0848984742df30f3811d9d0967b4d2aafd44b818799d0c9c4c29d3eb6e4700db2a859fb0e7c17dc23bdfe50b02364474166f2a1007049ff7ca75f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 7f2220de8bf095df88a10c1602b82aac1fbb8996
                       5e24a89b50bf06874df0fee9d7f159333ada56a8
                       166b971830cd1ad181f83f5134b512c9cc3ef44d
                       bcc8883749f771dfa18a721426e99fd2dd875bd5
                       6f0e1a34adcde25e914e7ddd9f1acca79774ef21
                       3748b30134d7ec0546f440e68a107256682e1483
                       078792d17449266327129f62a8a8208acaf4c1f1
                       718ac5537cb62009de95db21f0942f20a2d9077f
                       3eda43dfa52f1601006052a18f76a3111149c02c
                       5ef2507cab768b82b8152a5ccb9935f320642c46
                       1bde6de0220e4d4e4c1e40c1a298d4aff7867e2d
                       7b003f7daa46f09e55390a66dcac2c3bf9528a0e
                       f77aca1bd2ecf095fa2b9fcb0977b5983b45094e
                       1376647a49efdd59b0452bf6c6ac8c62382bf937
                       10e2bf0168175652cc0c7f7960386c9c1fbe9971
                       749b41ead8b7d649d0451c08ddc2d43205400490
                       19be1d0ec87a9782606ffe09bdb1fadee230e941
                       39e4ae7278ba80cda6afeb4a4168267a96674c1c
                       e6031bff4855eefdd6b970807832941cb47ebe85
                       11d3f31e
       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 [92:a5:30:13:3d:dd:ef:9b:be:e1:6d:43:ac:11:79:f3:ad:0e:e9:a9]
            modulus: d37679aae85dea0727c7cd8e10ff7f6e59658df8d8d08d707fdadd29ff544625a85ca438dc8bed1b4211d1b829140d1d0e347ac97f18b0b5306c44a09d39a755203e59a8f6833a39b3f54d1b07b30d5b042591b8cdbf445867bef8797b6e02252301a0318e44f5c5f3d714442e55bdc275316f6357c7ab212fd36f2b914ac4abaabe3698631733f1e4148fb7f88b989319865d0b6e69dcd998992b766d013851ed6496a7d74923bf9b24a56a68097370ecf68894a8d699d1f8511c539d51e6f48a4418065efe0ca93741c1406928b5367de560a8d5d16b91cbeb4174042a0b2458429db0d71f0b4d284d2195d7dcc2b873ec2b9c4802956e327e3a5099bec4c5
    public exponent: 10001

]