Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#9 Support not only "JKS" but also other KeyStore types.

open
nobody
None
5
2010-01-17
2010-01-17
freebeans
No

In winstone.ssl.HttpListener#getSSLContext():
---
KeyStore ks = KeyStore.getInstance("JKS");
---
Only "JKS" can be use, but I would like to use other KeyStore type.
---
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
---
or
---
private static String keyStoreType; // set by command line option.
KeyStore ks = KeyStore.getInstance(this.keyStoreType);
---

Discussion

  • freebeans
    freebeans
    2010-01-22

    Patch file for ssl/HttpsListener.java

     
    Attachments