Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. server.ssl.key-store=classpath:csrportal.p12 using classpath as well.
  2.  
  3. server.ssl.key-store-type=PKCS12
  4. # The path to the keystore containing the certificate
  5. server.ssl.key-store=classpath:csrportal.p12
  6.  
  7. try {
  8. connector.setAttribute("keystoreFile",
  9. ResourceUtils.getFile(cSRPortalSettings.getServerSslKeyStore()));
  10. } catch (FileNotFoundException e) {
  11. throw new IllegalStateException("Cannot load keystore",
  12. e);
  13. }
  14.  
  15. Exception encountered
  16. during context initialization - cancelling refresh attempt:
  17. org.springframework.context.ApplicationContextException: Unable to start
  18. embedded container; nested exception is java.lang.IllegalStateException:
  19. Cannot load keystore",
  20. "Application startup
  21. failed","logger_name":"org.springframework.boot.SpringApplication",
  22. "stack_trace":"org.springframework.context.ApplicationContextException:
  23. Unable to start embedded container; nested exception is
  24. java.lang.IllegalStateException: Cannot load keystorentat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement