SlackへのHTTPS経由での投稿についてSSLの証明書のあたりはよくわからなかった。
http://www.iotforest.com/2016/3/4/esp8266-arduino-feather-huzzah-using-slack-integration
に以下のような記載があった。
// SSL Certificate finngerprint for the host
const char* fingerprint = "ab f0 5b a9 1a e0 ae 5f ce 32 2e 7c 66 67 49 ec dd 6d 6a 38";
You can also find the fingerprint easily using Chrome if you are curious where this came from. Open up the Slack endpoint from above directly in your browser, then from the developer toolbars security tab you can view the certificate, then details and look for thumbprint (what fingerprint is called in chrome).
Chromeでの確認ができた。
SSLは(無料のSSLサービス使用例として)CloudFlareを使うなどの助言がSlackの利用者のメモで見たことがあるが、不要になったのだろうか。
上記のSSL Certificate でverifyを試みたが失敗した。
Slash command URLs must support HTTPS and serve a valid SSL certificate. Self-signed certificates are not allowed. Check out CloudFlare or Let's Encrypt for easy ways to obtain valid certificates.
とあるので、やはりCloudFlare のようなサービスを使うことになるのだろうか。