Results

By type

          2022-02-28 00:31:10,819 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-02-28 00:31:15,110 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-02-28 00:31:17.811  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 28, 2022 12:31:27 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 28, 2022 12:31:27 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 28, 2022 12:31:27 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 28, 2022 12:31:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-28 00:31:30.219 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-28 00:31:31.726  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-28 00:31:32.610  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-28 00:31:35.820 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-28 00:31:35.823 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-02-28 00:31:35.824 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-28 00:31:35.909 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-02-28 00:31:36.117 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-02-28 00:31:36.119 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-02-28 00:31:36.729 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-28 00:31:42.418 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/]]}
Feb 28, 2022 12:31:45 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-28 00:31:46.720  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 39.597 seconds (JVM running for 47.636)
Feb 28, 2022 12:31:52 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-28 00:33:14.607  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-28 00:33:14.619 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-28 00:33:14.811 DEBUG 1 [nio-8443-exec-7] .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-02-28 00:33:14.816 DEBUG 1 [nio-8443-exec-7] .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-02-28 00:33:14.912  INFO 1 [nio-8443-exec-7] .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-02-28 00:33:14.914  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-28 00:33:14.915  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-28 00:33:14.916 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-28 00:33:14.916 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 00:33:14.919 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-28 00:33:15.004 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-28 00:33:15.010 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-28 00:33:15.220 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-28 00:33:15.226 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 00:33:15.304 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 00:33:15.309 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-28 00:33:16.711  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-28 00:33:16.715  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-28 00:33:16.716 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-28 00:33:16.718 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-28 00:33:16.809  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-28 00:33:16.810  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-28 00:33:16.811 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-28 00:33:16.812 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 00:33:16.812 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 00:33:16.823 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-28 00:33:16.823 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 00:33:16.824 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 00:33:16.909 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-28 00:33:16.910 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 00:33:16.910 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 00:33:16.912 DEBUG 1 [nio-8443-exec-7] 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-02-28 00:33:17.022 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 3766374065430304612715261667513794453288528033
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Feb 28 00:27:25 UTC 2022
           Final Date: Sat Feb 28 00:27:24 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [c0:f4:05:c8:f6:3d:b3:02:88:88:97:4e:0a:93:3a:a9:13:7f:a6:23]
            modulus: be5d81bd70957f3f9f2171681d3bf5ee411ce922148e051f318c5fc0626f8250561eafb1acafd837ced3378babea835b20792fe197b050cbd9de7a5baa8667d56cb981c0455d8cbc8ac6219e2bce720288e8897482d21fcf510e9eabcd4fff3d7fdb117c767ad89189e9093c0aa6b93d54ef52ab4e626bf1e88627a1a82f62db72c1576455e2d710d7d554cbc45f8d14816861ed5504f33e5a061e19bdcc7c2f8c074a7911ef3668c639bc5843bb71b48e0e933bb9508318d9aa13bc651b2ee10c992bc88666cb7cc3d016ed60672cf8f053fa20f0cca2c3ee865b9156d8d2d961200d6c088869dcc9695e7fb93c7b67f8e9ac0885771f368790a887be80dc84a755fdb1325397d88b3e7c7efcb94700f43abf2984d4b10ef943ac383a4114e3beb1c311404f7840fe7d2b011a6d2c8bf87a560be90bc7515b8b8d9812ecbf723a0ac9ba4319a69e42928408ffd7ffcd873877a8ae0d816179b4069e2264bdd8fdfef510d04fee576f360e0bd30ce73a780e3ff28f52826140f958339179375b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: a7112e3ce31c68df3e4b4a756ef61d3fbac15432
                       83ebd96c9d20d16643fe2b3710da6196ab352460
                       86a6024a0e2590d71f9550a994bb63c1bb6298d8
                       9983c57d1cdebe42d7ff9ce4f80e24abb0f7b1f6
                       f5229409cf7d44aae33167f5084a727de96c3ec8
                       4a63f0c0899f535648cf9f82072cd4f56691ffbe
                       074b288e8a25d9b837f4daee00aeda2dd7bff938
                       f22e673d233ccf7f462643c7899f55b61c8b2d47
                       ccb962f3d229b4c6ef80edac6e3489c6026f4069
                       4e39397a6d8a02a58c4680cc203b223f9efe6588
                       b88739eb4491cb990aa4f2ca368106b06d4626bc
                       9db6190c2c0f38a96de2503eafa7f770856a7b17
                       f8b899fa9bd715d96099363cec9e67e1663a02d0
                       85affa68f423ae16f741af6b44ef09b3adc05c47
                       1d9e8250d1056a27ea502596ee87fecdb43a4d21
                       7abbfe6d09648a20107a8f8d940608d8b12cd5d5
                       246db66b1ffda8bba8903ef624f8d74dbaec3bf8
                       e8e2f681beffcdf2fb95302c630dd18bf0384459
                       b29a69cc1d7ae1b0df014b9a8bb8b67a9dd08ab6
                       46850685
       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 [40:26:f5:27:28:ae:26:a2:9a:a3:a2:e2:83:01:75:fa:d9:c3:70:b9]
            modulus: b25c2edcc852f9e766c84cb656a594cc2a585148e5bae540a6d962422aad9f0beb60e54476f3425cc01a61f3f4aabecf3c5c68fc57fde9b7a986a45eee8ed1786307b650964ca56b7d9ccdc85c02a8e23f7fe14d11d4578103b6a397e72075148a1dec1f8adb99b3a663affb27e1537a45e7b88c990a4e71ee75f55333ab1c7de70e60116fa514b4734fa700db175cec6cb531c6633fa3e3c18ae0b1f7c4ec12077fe5ea49b328b0406846f93028d0c3c1a7de68c896f1435ebf7ca2e28c25696fca46922f1d83a4d87138e48f109aa91ddc4858af7c48ec6fd6322f8d29843e65f2839acec0834eb95ca966a65d3abb03694671e19ac405654b0ed99104b881
    public exponent: 10001

]