Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server.ssl.key-store=classpath:csrportal.p12 using classpath as well.
- server.ssl.key-store-type=PKCS12
- # The path to the keystore containing the certificate
- server.ssl.key-store=classpath:csrportal.p12
- try {
- connector.setAttribute("keystoreFile",
- ResourceUtils.getFile(cSRPortalSettings.getServerSslKeyStore()));
- } catch (FileNotFoundException e) {
- throw new IllegalStateException("Cannot load keystore",
- e);
- }
- Exception encountered
- during context initialization - cancelling refresh attempt:
- org.springframework.context.ApplicationContextException: Unable to start
- embedded container; nested exception is java.lang.IllegalStateException:
- Cannot load keystore",
- "Application startup
- failed","logger_name":"org.springframework.boot.SpringApplication",
- "stack_trace":"org.springframework.context.ApplicationContextException:
- Unable to start embedded container; nested exception is
- java.lang.IllegalStateException: Cannot load keystorentat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement