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

Commit

Permalink
use PEM filetype
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Nov 7, 2018
1 parent 64afc1e commit 00840f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/postgres_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl PostgresDataStore {
connbuilder.set_ca_file(ca).unwrap();
}
connbuilder
.set_certificate_file(conf.tls_client_crt.as_ref().unwrap(), X509_FILETYPE_DEFAULT)
.set_certificate_file(conf.tls_client_crt.as_ref().unwrap(), X509_FILETYPE_PEM)
.unwrap();
connbuilder
.set_private_key_file(conf.tls_client_key.as_ref().unwrap(), X509_FILETYPE_PEM)
Expand Down

0 comments on commit 00840f5

Please sign in to comment.