以下の内容はhttps://end0tknr.hateblo.jp/entry/20250107/1736204888より取得しました。


ssl/tsl inspection回避による GitHub Copilot 利用(vs code, emacs for win)

install copilot.el (GitHub Copilot Free) to emacs ver.28 for win - end0tknr's kipple - web写経開発

先日の上記entryの関連です。

企業内ネットワークからGitHub Copilotを利用する場合、 https通信のssl/tsl検証の失敗が原因で利用できない場合があるようです。

GitHub Copilot を vs code や copilot.el for windows emacs 経由で 利用する場合、次の対策で解消します

visual studio code for windowsの場合

vs codeに win-ca プラグインでokです。

次のurlへ、ブラウザでアクセスし「Install」ボタンをクリックすると、 vs codeが起動し、インストールされます

win-ca - Visual Studio Marketplace

copilot.el for windows emacs の場合

emacsの他、git for winがhttps通信を行いますので、以下の設定を行います。

windows 環境変数

NODE_TLS_REJECT_UNAUTHORIZED = 0

~/.emacs.d/init.el

(setq gnutls-verify-error nil)
(setq tls-checktrust nil)

~/.gitconfig

[http]
    sslVerify = false



以上の内容はhttps://end0tknr.hateblo.jp/entry/20250107/1736204888より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14