Small openbsd httpd question: I'm trying to run two seperate TLS secured hosts, but it always return the certificate of the first site. Am I missing something here?

Sample config:

@eelcomaljaars Try:

listen on * tls port 443

... instead of:

listen on example.{org,com} tls port 443

@david this was how I started out. It is working now, but with a single certificate/key for all sites instead of a keypair/certificate per site. Not as nice, but it will do.


@eelcomaljaars I’m running (at last count) 8 sites on one OpenBSD httpd host, each with its own distinct certificate/key pair, so it is possible. Each "server" entry listens on *, instead of the host name.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!