Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #381
Browse files Browse the repository at this point in the history
2373d8b Package: update symlink for reseed.atomike.ninja.crt (anonimal)
4313e28 HTTP: update SSL options + set ciphers (anonimal)
  • Loading branch information
anonimal committed Oct 1, 2016
2 parents 0613a87 + 2373d8b commit dc49bd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/certificates/ssl/reseed.atomike.ninja.crt
8 changes: 7 additions & 1 deletion src/client/util/http.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,14 @@ bool HTTP::DownloadViaClearnet() {
}
// Set SSL options
options
.always_verify_peer(true)
.openssl_certificate(cert_path.string())
.openssl_sni_hostname(uri.host());
.openssl_sni_hostname(uri.host())
.openssl_ciphers(
"ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES"
":ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES"
":!aNULL:!MD5")
.openssl_options(SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_ALL);
}
// Create client with options
Client client(options);
Expand Down

0 comments on commit dc49bd6

Please sign in to comment.