Browse Source

my git ca cert adding for e.g. ubuntu

84582af
Dirk Alders 2 years ago
parent
commit
c2d6f5916b
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      add_my_git_ca_certs

+ 5
- 0
add_my_git_ca_certs View File

@@ -0,0 +1,5 @@
1
+#!/bin/bash
2
+#
3
+echo -n | openssl s_client -showcerts -connect git.mount-mockery.de:443  2>/dev/null  | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee /usr/local/share/ca-certificates/mount-mockery.crt
4
+sudo update-ca-certificates
5
+

Loading…
Cancel
Save