linkeddata / gold

Linked Data server for Go
151 stars 35 forks source link

Renegotiate TLS -- allow public access with no cert #96

Open timbl opened 6 years ago

timbl commented 6 years ago

The server currently asks for a certificate even if it is serving a public page. It should (like node-solid-server now) only ask for a cert when a protected page is asked for. It should re-negotiate the TLS connection in that case from no client cert to client cert level. That fix would prevent the popups which people get whenever a script tries to look up the webid of people on databox.me _

timbl commented 6 years ago

Possibly the problem was that the golang TLS support was not very well developped at the time, and that might have changed.