LoginSignup
1
2

More than 5 years have passed since last update.

Windows版 Mattermost を単独で SSL化する

Last updated at Posted at 2017-11-27

■用途

  • Windows版 Mattermost を単独で SSL化したい
    • Google Chrome 62 で「突然デスクトップ通知がされなくなった」などの対応として。。
      • IIS で URL Rewrite なり リバプロすれば済むのですが、したくない(できない)ケース

■方法

■詳細

  1. crt ファイルと key ファイルを準備 する
  2. 以下のように config.json を編集する(システムコンソールからでも良い)

    • config.json の例 (※IP, パスは例です)

      • 変更前

        {
            "ServiceSettings": {
                "SiteURL": "http://192.168.1.101:8065",
                "LicenseFileLocation": "",
                "ListenAddress": ":8065",
                "ConnectionSecurity": "",
                "TLSCertFile": "",
                "TLSKeyFile": "",
        
      • 変更後

        {
            "ServiceSettings": {
                "SiteURL": "https://192.168.1.101:8065",
                "LicenseFileLocation": "",
                "ListenAddress": ":8065",
                "ConnectionSecurity": "TLS",
                "TLSCertFile": "C:/mattermost/cert/hoge.crt",
                "TLSKeyFile": "C:/mattermost/cert/hoge.key",
        
  3. services.msc (など)でmattermostを再起動する(サービス化している場合)

■注意点

  • http://ではアクセスできなくなります。。
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2