SSL_connectは1、errno=0、peeraddr=162.243.189.2:443、state=error: certificate verify failed (Hostname mismatch)を返しました

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

「いいね!」 2