org. Springframework. Boot.. Web server WebServerException: Unable to start embedded Tomcat server
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. Start (TomcatWebServer. Java: 215) ~ [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. StartWebServer (ServletWebServerApplicationContext. Java: 297) ~ [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. FinishRefresh (ServletWebServerApplicationContext. Java: 163) ~ [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 553) ~ [spring - the context - 5.2.5. The jar: 5.2.5. RELEASE]
The at org. Springframework. Boot. Web. Servlet. Context. ServletWebServerApplicationContext. Refresh (ServletWebServerApplicationContext. Java: 141) ~ [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 747) [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 397) [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 315) [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1226) [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1215) [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
At com. Molinks. MolinksApplication. Main (MolinksApplication. Java: 25)/classes/: na
Under Caused by: Java. Lang. IllegalArgumentException: standardService. The startFailed
The at org. Apache. Catalina. Core. StandardService. AddConnector (StandardService. Java: 231) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. AddPreviouslyRemovedConnectors (TomcatWebServer. Java: 278) ~ [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
The at org. Springframework. Boot. Web. Embedded. Tomcat. TomcatWebServer. Start (TomcatWebServer. Java: 197) ~ [spring - the boot - 2.2.6. The jar: 2.2.6. RELEASE]
. 10 common frames omitted
Under Caused by: org. Apache. Catalina. LifecycleException: Protocol handler start failed
The at org. Apache. Catalina. Connector. The startInternal (Java: the 1038) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 183) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
The at org. Apache. Catalina. Core. StandardService. AddConnector (StandardService. Java: 227) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
. 12 common frames omitted
Under Caused by: Java. Lang. IllegalArgumentException: Private key must be accompanied by certificate chain
At org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext AbstractJsseEndpoint. Java: (99) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
At org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl AbstractJsseEndpoint. Java: (71) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
At org.apache.tomcat.util.net.NioEndpoint.bind NioEndpoint. Java: (217) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
At org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup AbstractEndpoint. Java: (1141) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
At org.apache.tomcat.util.net.AbstractEndpoint.start AbstractEndpoint. Java: (1227) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
The at org. Apache. Coyote. AbstractProtocol. Start (AbstractProtocol. Java: 592) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
The at org. Apache. Catalina. Connector. The startInternal (Java: the 1035) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
. 14 common frames omitted
Under Caused by: Java. Lang. IllegalArgumentException: Private key must be accompanied by certificate chain
The at Java. Security. KeyStore. SetKeyEntry (KeyStore. Java: 1136) ~ [na: 1.8.0 comes with _91]
At org.apache.tomcat.util.net.SSLUtilBase.getKeyManagers SSLUtilBase. Java: (357) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
At org.apache.tomcat.util.net.SSLUtilBase.createSSLContext SSLUtilBase. Java: (247) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
At org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext AbstractJsseEndpoint. Java: (97) ~ [tomcat embed - core - 9.0.33. Jar: 9.0.33]
. 20 common frames omitted
The 2020-06-23 23:50:39. 6464-108 the INFO [main] O.S.S.C oncurrent. ThreadPoolTaskExecutor: Shutting down the ExecutorService 'applicationTaskExecutor'
The Process finished with exit code 1
This is an error message
CodePudding user response:
I configured the SSL implementation HTTPS access this will occurCodePudding user response:
Can you look at the configuration fileCodePudding user response:
Under Caused by: Java. Lang. IllegalArgumentException: Private key must be accompanied by certificate chainnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull