RE: How to get certificate made with makecert to work with IIS

From: Karl Westerholm [MS] (karlwestonline@microsoft.com)
Date: 07/19/02


From: karlwestonline@microsoft.com (Karl Westerholm [MS])
Date: Fri, 19 Jul 2002 01:13:47 GMT


Greetings,

   Generating a web server certificate with 'makecert.exe' can be a very
tricky business. While it certainly can be done, there are enough switches
that need to be set perfectly & other potential 'gotchas' that using
makecert.exe *may* end up being more trouble then it is worth given an even
easier method to issue certificates included for free with Windows 2000
Server: Certificate Server 2.0.

   If you do not have a copy of W2K/Server (or do not have the time to set
it up right now) you can visit the following Microsoft Web site where you
can access a test Cert Server: http://sectest.rte.microsoft.com [This KB
also gives more information on how to go about setting up IIS5 with a Cert
Server 2.0-issued server cert:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q299525 ]

   Having said all that, let me throw out a link to the info page for
makecert.exe, as well as a sample command-line that I think should allow
you to create a web server certificate:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se
curity/makecert.asp

This makecert command-line should work:

makecert -pe -n CN=mymachine -ss MY -sr localMachine -a sha1 -sky exchange
-eku 1.3.6.1.5.5.7.3.1 -in "TestCA" -is MY -ir LocalMachine -sp "Microsoft
RSA SChannel Cryptographic Provider" -sy 12 mymachine.cer

     Regards,
     -->Karl

“Please do not send email directly to this alias. This is our online
account name for newsgroup participation only.”

This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

--------------------
| From: "TP" <teemu.piiroinen@pp.inet.fi>
| Subject: How to get certificate made with makecert to work with IIS
| Date: Fri, 19 Jul 2002 00:38:15 +0300
| Lines: 16
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <OyZKzMqLCHA.2200@tkmsftngp11>
| Newsgroups: microsoft.public.inetserver.iis.security
| NNTP-Posting-Host: 80.222.66.231
| Path: cpmsftngxa08!cpmsftngxa10!tkmsftngp01!tkmsftngp11
| Xref: cpmsftngxa08 microsoft.public.inetserver.iis.security:8537
| X-Tomcat-NG: microsoft.public.inetserver.iis.security
|
| Hi
|
| I made a test certificate with makecert.exe program that came
| with .NET framework. I didn't give any additional properties
| (makecert.exe C:\testcert.cer). Then I added sertificate using MMC
| and used Internet Services Manager to make that certificate
| as IIS's certificate. There wasn't any errors and everything
| seemed to go well. But when I tried to open a page with https
| I just got message that page could not be found. Using http
| page worked just fine. I have checked that port for ssl is set right,
| and I have also checked that port is listening with netstat.
|
| Thanks..
|
|
|
|



Relevant Pages

  • Re: Configuring LDAP on Entourage 2004 OS X
    ... Microsoft CSS Online Newsgroup Support ... with Blackberry's because RIM's blackberry enterprise server works. ... Configuring LDAP on Entourage 2004 OS X ... does not work with a self signed SSL certificate OR with the SSL ...
    (microsoft.public.windows.server.sbs)
  • RE: Push Email not working
    ... Exchange server" error message when you try to access Outlook Mobile Access ... Microsoft CSS Online Newsgroup Support ... | Thread-Topic: Push Email not working ... | This could cause problems as I using the current certificate for Outlook ...
    (microsoft.public.windows.server.sbs)
  • Re: Schannel event 36870 - 0x6
    ... "Cannot manage Certificate Services. ... monitor the server to see if other error will occur. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: Public Folder in Exchange - SSL certificate server name incorr
    ... What's the certificate name? ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... I have 2 NICs in my server, ...
    (microsoft.public.windows.server.sbs)
  • Re: CEICW settings
    ... And many thanks for your continous support in public newsgroup. ... Microsoft CSS Online Newsgroup Support ... First of all, no matter what you use in Web Server Certificate (IP, ...
    (microsoft.public.windows.server.sbs)