https & starttls

Zoe <[email protected]> Mon, 27 Dec 2004 17:40:12 +0100
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Hello,

Version 0.6.2 introduces support for both HTTPS and STARTTLS.

To enable it, add the following keys to your 
alt.dev.zoe.Application.plist configuration file:

"http.port" = "10443";
"tls.enabled" = "true";
"protocol.name" = "https";

See attachment for an example.

When TLS is enabled, the application will automatically create a 
self-signed X509 certificate. The certificate is located under 
'<ZOE>/Library/SZ/Keys/'.

You can customize the following X509 properties by creating a 
configuration file named 'alt.dev.zoe.KeyManager.plist':

{
     "alias" = "alias";
     "x509.unit" = "alt.dev";
     "x509.country" = "US";
     "x509.dns" = "localhost";
     "validity" = "1";
     "keypair.name" = "RSA";
     "keypair.length" = "2048";
     "signature.name" = "SHA1withRSA";
}

The "validity" is in years.

To recreate a certificate, delete the existing one and restart the app.

Cheers,

R.
alt.dev.zoe.Application.plist (application/octet-stream, 80 B) - not displayed