Solved

How to assign SSL certificate with APPCMD?

Posted on 2009-05-16
1
1,751 Views
Last Modified: 2012-05-07
Can you advise me whether it is possible or not to assign a SSL Certificate to a website in IIS7 using the APPCMD application?

I am familiar with the command to set the HTTPS Binding:
appcmd set site /site.name:"A Site" /+bindings.[protocol='https',bindingInformation='*:443:www.mysite.com']

But can not seem to find any way to map a site to a SSL certificate. Is this possible?
0
Comment
Question by:bemara57
1 Comment
 
LVL 37

Accepted Solution

by:
meverest earned 500 total points
ID: 24405045
Hi,

Do you want to 'map' it to a previously existing cert, or do you want to make a new one?

have you tried using the 'selfssl' utility that ships with the IIS6 resource kit? Suppoirt for IIS7 is apparently not perfect - you have to manually add the bindings afterward (like above) - but it does set up the certs and keychain apparebtly.

Cheers.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question