-
|
We need to use an SSL client certificate in order to download some archives with Are we missing something? Is there a way to make Bazel use an SSL client certificate for its http downloads? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
It is possible to make this work by configuring the underlying JVM with a custom keystore containing your certificate + key. Follow the instructions on https://blog.kunicki.org/blog/2015/09/10/ssl-client-certificates-on-the-jvm/, in particular use a command like |
Beta Was this translation helpful? Give feedback.
-
|
Cross linking feature request: #26733 |
Beta Was this translation helpful? Give feedback.
It is possible to make this work by configuring the underlying JVM with a custom keystore containing your certificate + key. Follow the instructions on https://blog.kunicki.org/blog/2015/09/10/ssl-client-certificates-on-the-jvm/, in particular use a command like
openssl pkcs12 -export -out keystore.p12 -in client.crt -inkey client.keyto create a password-protected keystore file in the PKCS#12 format, and then add something like this to a suitable.bazelrc: