Add SSL to a non-80-port web site

Phillips, Keith 701 Reputation points
2023-01-06T14:13:50.177+00:00

I have a web site that uses a port other than 80. Let's call it http://mysite:999. I need to add SSL to this site, but cannot remove that "999" from the URL, as that's the only way to access the site.

I've searched, and the closest answer I've seen is this:

https://social.msdn.microsoft.com/Forums/en-US/2b7a4752-2704-4047-847d-0cd333217a68/iis-hosting-site-on-non80-port-with-ssl-cert?forum=iissecurity

As that was from 2017, has anything changed, or is that still the preferred method? Or is there a better method?

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,978 questions
{count} votes

Accepted answer
  1. AllenXu-MSFT 22,686 Reputation points Microsoft Vendor
    2023-01-09T06:46:06.37+00:00

    Hi @Phillips, Keith ,

    As per my research, to enable SSL for a non-80-port site and keep the bound port, you need to create an https binding with 999 port and enable SSL in IIS manager as said in the post. It is still the preferred method and the only method as per my knowledge.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Phillips, Keith 701 Reputation points
    2023-01-09T12:27:21.92+00:00

    One issue - I tried to add a new HTTPS binding for port 999, and got "the specified port is being used by a different binding." IIS won't let me edit the existing binding, either. Is there a way around that?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.