diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-22 10:03:45 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-22 12:31:16 -0600 |
| commit | e8aadb0323135defca027c5ac09c2a2e8a2194b4 (patch) | |
| tree | db395a60486fd6ce255d7281c97cb5c1687c9bca /lib | |
| parent | d65dd61597375bfd6e6953fd4d0990a836fc3503 (diff) | |
Use keytool to import a ca certificate
* Remove dind for license scan and move it to code_quality
* Add spec to verify TLS connections to maven repo
* Add CHANGELOG and bump version
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/license/management/shell.rb | 1 | ||||
| -rw-r--r-- | lib/license/management/version.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/license/management/shell.rb b/lib/license/management/shell.rb index 6720460..f16537d 100644 --- a/lib/license/management/shell.rb +++ b/lib/license/management/shell.rb @@ -42,6 +42,7 @@ module License custom_certificate_path.write(certificate) execute("openssl x509 -in #{custom_certificate_path} -text -noout") execute('update-ca-certificates -v') + execute("keytool -importcert -file #{custom_certificate_path} -trustcacerts -noprompt") end def present?(item) diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb index c00ae73..bc5d85c 100644 --- a/lib/license/management/version.rb +++ b/lib/license/management/version.rb @@ -2,6 +2,6 @@ module License module Management - VERSION = '3.7.3' + VERSION = '3.7.4' end end |
