Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a remote Redhat Postgresql box running SSL-enabled. I can successfully connect securely via my desktop in pgAdmin3 at least. I'm using keytool to install the certificate(s) in different combinations but am unsuccessful.

E:\JRun4\jre\bin>keytool -importcert -alias postgresql -file C:\dcacerts\postgresql.crt -keystore E:\Jrun4\jre\lib\security\cacerts -trustcacerts
E:\JRun4\jre\bin>keytool -importcert -alias postgresql2 -file C:\dcacerts\root.crt -keystore E:\Jrun4\jre\lib\security\cacerts -trustcacerts

I also converted these CRTs to CERs for der format, and no luck either.

E:\JRun4\jre\bin>keytool -importcert -alias postgresql -file C:\dcacerts\postgresql.cer -keystore E:\Jrun4\jre\lib\security\cacerts -trustcacerts
E:\JRun4\jre\bin>keytool -importcert -alias postgresql2 -file C:\dcacerts\root.cer -keystore E:\Jrun4\jre\lib\security\cacerts -trustcacerts

The client box is Windows 2003 with ColdFusion 8 Enterprise.

share|improve this question
Where was the CSR created and where is the private key kept? – Frands Hansen Mar 28 '11 at 22:16
The CSR was created on the client box; I exported the CRT by double-clicking the certificate and doing Save As and saved it in DER format. The private key is in the same folder as the certificates but I cannot install it as it's not in x509 format, nor have I seen any instructions to do so. – David Patricola Mar 29 '11 at 12:45

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.