Results

By type

          2022-03-07 12:14:59,136 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-07 12:15:00,482 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-07 12:15:01.601  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 07, 2022 12:15:04 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 07, 2022 12:15:04 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 07, 2022 12:15:04 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 07, 2022 12:15:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-07 12:15:05.910 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-07 12:15:06.273  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-07 12:15:06.876  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-07 12:15:07.827 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-07 12:15:07.831 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-03-07 12:15:07.834 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-07 12:15:07.839 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-07 12:15:07.909 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-07 12:15:07.914 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-03-07 12:15:08.071 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-07 12:15:09.084 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 07, 2022 12:15:09 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-07 12:15:10.170  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 12.255 seconds (JVM running for 14.277)
Mar 07, 2022 12:15:37 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-07 12:16:05.811  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-07 12:16:05.831 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-07 12:16:05.889 DEBUG 1 [io-8443-exec-10] .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-07 12:16:05.902 DEBUG 1 [io-8443-exec-10] .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-07 12:16:05.937  INFO 1 [io-8443-exec-10] .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-07 12:16:05.939  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-07 12:16:05.940  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-07 12:16:05.942 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-07 12:16:05.942 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-07 12:16:05.946 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-07 12:16:05.955 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-07 12:16:05.961 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-07 12:16:06.011 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-07 12:16:06.034 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-07 12:16:06.036 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-07 12:16:06.042 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-07 12:16:06.779  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-07 12:16:06.783  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-07 12:16:06.784 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-07 12:16:06.786 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-07 12:16:06.808  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-07 12:16:06.810  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-07 12:16:06.825 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-07 12:16:06.826 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-07 12:16:06.827 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-07 12:16:06.881 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-07 12:16:06.881 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-07 12:16:06.881 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-07 12:16:06.904 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-07 12:16:06.905 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-07 12:16:06.906 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-07 12:16:06.909 DEBUG 1 [io-8443-exec-10] 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-07 12:16:06.968 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 208137468218877730942653913704007465168558103172
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Mar 07 12:10:08 UTC 2022
           Final Date: Sat Mar 06 12:10:07 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [41:57:0a:e1:90:79:2a:ee:43:0e:04:cc:dd:15:55:13:77:39:f4:ec]
            modulus: e8cf47b38270182f68df8569d0325b45501e72a51ef07e9efac3c7b97061c3e927e9377129868cc8d8b49b687c881877ef4e2da27765934cf9889467848242a48a6bfbd3f7c0757fa98cb08d807bce3c27cac43d53fa924e52e36663c95aafbe3b2a6dbde59a1159c90caf935788f5c27ffb9b9188125f2b42577aff1206c723e19b4d5957ada68ac33512e705d52415463dc3744cf89394a54323fa016d005501a9c36cd2944147c093fbd4e84f9a1bfed71b5400b7da2c25e9b3c0669528fe16a726d528f9b9a57d195059cf574d230f682114a17adbbb89f359275355d01ebf6111fa06efd8f149b9801d096d2582c2e53c97e596d55fcaf86b4422d6dbc5dbcca22109e0f06f6c5553ba08b75d6646c2b935f521d50abcd9fe74ad40c513f1c8d8cf363ae77cfd52acede7f104b0da1967a8b9b052954275d514a517cc76d21fda7e2f55ed96eed8edc071645e7cd77fe4192b528d4a1a489224a1b8d1d9a90fb66fda18fff6c400b46aaa60f3ce544c1a0811158227a0fa6ad7c7b866f1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: cc8fe13c7609c8f9c7da2bf59104cfb7b926629c
                       61ecc64a036a8eaafc17a39db3747c51996e7754
                       14feea544039e1fd8f095fa0765aa7f7cc0cd6fb
                       fcd44dafbe4dbf9d82731db03a40e235ffe5b06c
                       c489ca1513fd885e46144540a65e0c9a01681d57
                       ac555211c3da215387f378819b4ff6acdf9b7987
                       b7e75132142e3fc7725f887f2db31da8dc0953e2
                       914863387e9b7f6026f49c8cd39bc0dda0901572
                       567a6a194fd68f0fd01daeac870833d7b6758a9e
                       aa8e87d3b6c3345fc135d95a4a2c060a68e02deb
                       1cb655b7b93be135688311ca53833862049e7913
                       4f2c99a5838e0079545f7aaba25f02d077840be2
                       09ebcd8d69ceaf7432c88d421357d29ea5d80a13
                       25c427b427017bb12059a26f380780e5d6e18f74
                       4fc0843d3192b550636b0b69b29d8ee72afca5c2
                       535738438688811f1ab7bc68c5757bedee3023b2
                       38787a9327024fc6340d62d42730d97106373584
                       41eaa5f3122afb3af750f80a51efde9e8525635d
                       292249730b1952a59ce2e3ad5f529cdd938e0d2a
                       39f1547b
       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 [2b:72:4f:20:75:73:3d:04:b2:8c:dc:f3:2e:eb:c6:11:19:b7:06:0b]
            modulus: ce2db116a12d7a25b1a081847cf4edfe819630531fb150b810bd504601637043ecd09f55f52c93a8fc4ec8390e654f014975f255253e31392b348beeb9547f99137e5e5c3bdd17f7d54255fbeca82b9834a2f81235add6934a29a2aff37e244e7d3416ec0fb163943eb376810ca002cc810d155212b0a6c9fe86dfc18dda174e355de23184ad1d3969bc8ac9ed7cd8e8413987b2b0f3ea69bcb6b42e2627ee633b9f52b19d21a69047b3a04eaad5f25633bbd47c541c303d0db96867f3981076563f2b6e241286507120a06cc19f7dcf9783c9d0790beb949f04bff86063c23a5c4c0d417453557a31a1864f132b39d68ef2b8ab946ad5883dc009a13184e8bb
    public exponent: 10001

]