We help IT Professionals succeed at work.
Get Started

Changed Certificate on SBS 2008, IIS now broken.

355 Views
Last Modified: 2012-05-11
I have generated a self signed SAN certificate on SBS 2008.

Now I cant access IIS propperly.

This is what I did:-

Now I get 403.4 and site missing completely, and the default web site unable to start.



[PS] C:\Windows\System32>New-ExchangeCertificate -GenerateRequest -SubjectName "
C=GB, o=shortdomain Ltd., CN=remote.shortdomain.co.uk" -DomainName

remote.shortdomain.co.uk, autodiscover.longdomain.co.uk, exchange-svr, exchange-svr
.shortdomain.local, remote.longdomain.co.uk -FriendlyName "Exchange Hosting
 SAN" -KeySize 1024 -Path c:\san201105171150.txt -PrivateKeyExportable:$true

Thumbprint                                Services   Subject
----------                                --------   -------
*************************************A0B  .....      C=GB, O=shortdomain ...


[PS] C:\Windows\System32>certreq -submit -attrib "CertificateTemplate:WebServer"
 c:\san201105171150.csr
RequestId: 7
Certificate retrieved(Issued) Issued

[PS] C:\Windows\System32>Import-ExchangeCertificate -Path c:\san201105171150.p7b


Thumbprint                                Services   Subject
----------                                --------   -------
*************************************BFE  .....      CN=remote.shortdomain.co.u...


[PS] C:\Windows\System32>Enable-ExchangeCertificate -Thumbprint

*************************************BFE -Services IIS, POP, IMAP ,SMTP

Confirm
Overwrite existing default SMTP certificate,
'*************************************4AD' (expires 5/9/2013 11:30:55 AM), with
 certificate '*************************************BFE' (expires 5/16/2013
10:56:17 AM)?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):
[PS] C:\Windows\System32>


Any ideas what this may have messed up in IIS?
Comment
Watch Question
CERTIFIED EXPERT
Distinguished Expert 2018
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE