Skip to content

Commit e2cd119

Browse files
authored
Merge pull request #15 from puppetlabs/BOLT-686
(BOLT-686) Use TLS v1.2
2 parents 42ff3fa + 5cfd814 commit e2cd119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/orchestrator_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def make_uri(path)
2424
def create_http(uri)
2525
http = Net::HTTP.new(uri.host, uri.port)
2626
http.use_ssl = true
27-
http.ssl_version = :TLSv1
27+
http.ssl_version = :TLSv1_2
2828
http.ca_file = config['cacert']
2929
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
3030
http

0 commit comments

Comments
 (0)