Skip to content

Improvement: 自己署名証明書を使ったLDAPSサーバーを認証に使った場合の認証処理 #7708

Closed Answered by TomokiMuto
Kohei-Motoya asked this question in Ideas / Requests
Discussion options

You must be logged in to vote

自分もこちらのケースにぶちあたってこのディスカッションに辿り着いたのですが、
受け入れる証明書を環境変数でnodeに渡してやれば回避できるようです。

services:
  app:
    environment:
      - NODE_EXTRA_CA_CERTS=/opt/growi/ldap_ca.pem   # ADD Cert File Path
    volumes:
      - ./ldap_ca.pem:/opt/growi/ldap_ca.pem  # Bind Local Cert File

私の場合はこれで十分ですが、もしUIに組み込むなら、ファイルを渡すよりもpemの内容をStringで渡してDBに保存・参照がいい気がします。

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yuki-takei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants
Converted from issue

This discussion was converted from issue #903 on May 25, 2023 12:14.