プロジェクトの Git でクライアントの証明書は利用できますか?
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 13 de Nov. de 2025
Editada: MathWorks Support Team
el 26 de Nov. de 2025 a las 8:36
GitLab側で発行済の「証明書AAA.crt」「秘密鍵AAA.key」「パスフレーズの手動入力」を使用して、MATLABプロジェクトをGitLabでソース管理する方法を教えてください。
現状、以下のように設定すると、エラーが発生します。
設定コマンド
git = settings().matlab.sourcecontrol.git;
git.PrivateKeyFile.PersonalValue = "Full path to AAA.key";
git.PublicKeyFile.PersonalValue = "Full path to AAA.crt";
git.KeyHasPassphrase.PersonalValue = true;
エラー
「could not initialize security context:(-1x2)」
Respuesta aceptada
MathWorks Support Team
el 26 de Nov. de 2025 a las 0:00
現状、MATLAB はクライアント証明書の使用をサポートしていない状況です。MATLAB では libgit2 というライブラリを使用しております。libgit2 は現時点ではクライアント証明書に対応しておりません。
(libgit2 に関する詳細:https://github.com/libgit2/libgit2/issues/4204)
回避策は、クライアント証明書に対応している Git クライアントを使用して、clone / fetch / push 操作を行う方法となります。
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre ソース管理の統合 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!