Hi,
I am trying to establish a SSL connection with a remote server on a random port 10170. I have got a public key from the server side. And I have sent my public key to the server. And I am trying to use my certificate file and the public key of the server like this.
cert = sunPrimary.pem key = sunStunnel.pem
But the problem is both the public key from server and my own certificate file starts with "-----BEGIN CERTIFICATE-----" by default. So now, if I don't change the "-----BEGIN CERTIFICATE-----" header of the my certificate to "-----BEGIN PRIVATE KEY-----" I get errors and if I change it to private key and make the public key of the server as certificate then I still get errors.
Please let me know, how can I use the key and certificate together.
Thanks.
Kind Regards, Hamid Shahid
Are you using a self signed certificates or certs signed by a certication authority (CA) ?
-----Original Message----- From: Hamid.Shahid@sungard.com Sender: stunnel-users-bounces@stunnel.org Date: Tue, 29 Nov 2011 16:57:17 To: stunnel-users@stunnel.org Subject: [stunnel-users] Key and Certificate file issue!
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Hi,
I am using a self signed certificate, but the public key provided by the server side is from the certificate issued by a certication authority (CA). ________________________________________ From: josealf@rocketmail.com [josealf@rocketmail.com] Sent: Tuesday, November 29, 2011 6:46 PM To: Shahid, Hamid; stunnel-users-bounces@stunnel.org; stunnel-users@stunnel.org Subject: Re: [stunnel-users] Key and Certificate file issue!
Are you using a self signed certificates or certs signed by a certication authority (CA) ?
-----Original Message----- From: Hamid.Shahid@sungard.com Sender: stunnel-users-bounces@stunnel.org Date: Tue, 29 Nov 2011 16:57:17 To: stunnel-users@stunnel.org Subject: [stunnel-users] Key and Certificate file issue!
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Hi,
Please let me know, if you have suggestions in the following regard.
Kind Regards, Hamid Shahid
-----Original Message----- From: Shahid, Hamid Sent: den 29 november 2011 22:34 To: josealf@rocketmail.com; stunnel-users-bounces@stunnel.org; stunnel-users@stunnel.org Subject: RE: [stunnel-users] Key and Certificate file issue!
Hi,
I am using a self signed certificate, but the public key provided by the server side is from the certificate issued by a certication authority (CA). ________________________________________ From: josealf@rocketmail.com [josealf@rocketmail.com] Sent: Tuesday, November 29, 2011 6:46 PM To: Shahid, Hamid; stunnel-users-bounces@stunnel.org; stunnel-users@stunnel.org Subject: Re: [stunnel-users] Key and Certificate file issue!
Are you using a self signed certificates or certs signed by a certication authority (CA) ?
-----Original Message----- From: Hamid.Shahid@sungard.com Sender: stunnel-users-bounces@stunnel.org Date: Tue, 29 Nov 2011 16:57:17 To: stunnel-users@stunnel.org Subject: [stunnel-users] Key and Certificate file issue!
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users