Re: How to use HTTPS (SSL) with Zinc
Posted by
Attila Magyar on
Jun 24, 2017; 7:26am
URL: https://forum.world.st/How-to-use-HTTPS-SSL-with-Zinc-tp4952461p4952501.html
Teapot uses ZnServer defaultServerClass by default, but you can configure Teapot to use other kind of ZnServers like this.
secureServer := (ZnSecureServer on: 1443)
certificate: '/path/to/keypair';
logToTranscript;
yourself.
teapot := Teapot configure: { #znServer -> secureServer }.
teapot
GET: '/test' -> 'secure';
start.
This is available only in the latest development version.