SSL_connect teruggekeerd=1 errno=0 peeraddr=162.243.189.2:443 state=error: certificaat verificatie mislukt (Hostnaam niet overeenkomend)

As said in the guide they must go under the env: section, together with other DISCOURSE_ like settings:

2 likes