Comment by 🕹️ skyjake

=> Re: "Separate certificates for virtual hosts" | In: s/GmCapsule-Issues

Implemented for v0.9.1. The way this works is that you first create separate SSL contexts for each virtual host. Then you can set up a callback to select the context for a particular incoming connection based on the SNI servername.

=> 🕹️ skyjake [OP/mod, sysop]

2024-08-25 · 5 months ago

Original Post

=> 🌒 s/GmCapsule-Issues

Each virtual host should be able to use its own certificate. Currently, only one certificate is used and it must have alternative names for each vhost. I'm not sure if this requires more than loading multiple server certificates at launch, i.e., whether pyOpenSSL checks the SNI info automatically or does the handshake need to be handled more manually. Some research needed...

=> 💬 skyjake [mod...] · 1 comment · 2023-07-19 · 2 years ago · ✔︎ #feature

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/skyjake/19205
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
52.50065 milliseconds
Gemini-to-HTML Time
0.458593 milliseconds

This content has been proxied by September (3851b).