all groups > asp.net security > august 2005 >
You're in the

asp.net security

group:

Enabling SSL on the server with test certificate



Re: Enabling SSL on the server with test certificate Leon Mayne [MVP]
8/31/2005 12:00:00 AM
asp.net security: [quoted text, click to view]

Hello,
It sounds like you're installing the cert without creating / importing the
private key in IIS. Have you followed the CSR wizard in IIS to generate a
key pair and the CSR to either send to a CA or sign yourself? Make sure you
use the 'Create a new certificate' option in the SSL IIS wizard and you can
create a test 3 month cert from IPSCA to make sure it works OK:
http://certs.ipsca.com/

Enabling SSL on the server with test certificate Lenn
8/31/2005 8:05:07 AM
Hello,

I've been struggling with this for couple of days now. All I want to do is
to enable SSL protocol on the webserver.
I want to be able to generate and sign my own certificates. I used various
tools to do that, such as makecert.exe from .NET SDK and even downloaded
OpenSSL and generated certificates using that.
I installed my own certificates on IIS, but SSL simply wont work with any of
mine certificates. I get an error in server's event log: "SSL server
credential's certificate does not have a private key".
If anyone successfully accomplished what I am trying to do, Please respond.
Any links or suggestions? Please help!

Thank you
RE: Enabling SSL on the server with test certificate Lenn
8/31/2005 8:51:50 AM
Thank you all.

Yes, I installed certificate on the client and server, doesn't make a
difference.


Leon, Wizard in IIS offers 2 options; 1. Create Certificate request to be
processed by CA. 2. Assign excisting cert.
I chose option 2.
What I've done is 1. Generate new cert using makecert.exe, 2. Import cert to
the server Cert Personal Store through Certificate Mangment Console. 3.
Install new cert on IIS though their wizard.
Re: Enabling SSL on the server with test certificate Nicholas Paldino [.NET/C# MVP]
8/31/2005 11:23:56 AM
Lenn,

If you are going to generate your own certificates, then I believe you
have to install the certificate on the client machine to get SSL to work.
Have you tried that?

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

AddThis Social Bookmark Button