Can I use client certificates in Git for my project?
Show older comments
How do I source a MATLAB project in GitLab using "Certificate AAA.crt", "Private Key AAA.key", and "Manual Passphrase Input" issued by GitLab?
Currently, if you set it like this, you will get an error.
Config command
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;
Error
"could not initialize security context:(-1x2)"
Accepted Answer
More Answers (0)
Categories
Find more on Source Control in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!