org.springframework.boot.web.server

Interface SslStoreProvider

  • All Known Implementing Classes:
    CertificateFileSslStoreProvider


    public interface SslStoreProvider
    Interface to provide SSL key stores for an WebServer to use. Can be used when file based key stores cannot be used.
    Since:
    2.0.0
    • Method Detail

      • getKeyStore

        java.security.KeyStore getKeyStore()
                                    throws java.lang.Exception
        Return the key store that should be used.
        Returns:
        the key store to use
        Throws:
        java.lang.Exception - on load error
      • getTrustStore

        java.security.KeyStore getTrustStore()
                                      throws java.lang.Exception
        Return the trust store that should be used.
        Returns:
        the trust store to use
        Throws:
        java.lang.Exception - on load error