Windows Server 2016 SSL Certificate

Hi Windows Server experts,

Just need a general guidance on this scenario pls

In AWS EC2 Windows Server 2016 (serverA), have manually installed softwares,  imported/configured SSL certificates, etc for one of my application, my application works fine in https....all good at this stage.

As you know, in AWS, we have an option to create an AMI (Snapshot) from an EC2. Using this AMI we can create subsequent servers instances (serverB, serverC, etc , so we dont have to reinstall and configure softwares once again.

My Request is:
If I launch and create new EC2 Windows server based on above AMI, Do I have to perform anything extra for SSL certificates to work on serverB, serverC, so on? would that works as it was working on the serverA.

please suggest. and advice.

Thanks in advance
enthuguyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joshua GrantomSenior Systems AdministratorCommented:
How are the certificates used? Are they added to trusted certificates or are they used to authenticate the server?
enthuguyAuthor Commented:
HI Joshua,

They are imported into certificate store "Web Hosting" using

I'm getting familiar in SSL :)
Joshua GrantomSenior Systems AdministratorCommented:
The certificates should stay when you deploy from the AMI template. As long as there are Subject Alternate Names for each hostname of each server or if you are using a wildcard certificate you should be fine. Keep in mind that if these servers are being joined to a domain, sysprep should be run before you make the AMI so the image is generalized.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEOs need to know what they should worry about

Nearly every week during the past few years has featured a headline about the latest data breach, malware attack, ransomware demand, or unrecoverable corporate data loss. Those stories are frequently followed by news that the CEOs at those companies were forced to resign.

enthuguyAuthor Commented:
Thanks Joshua,
Yes, it is a wildcard certificate.

Yes, it is domain joined (spot on joshua)

Could you provide a link on sysprep that you are suggesting please?

are you talking about this?
PS C:\> C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule
PS C:\> C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendEventLogs.ps1 -Schedule

Open in new window

Joshua GrantomSenior Systems AdministratorCommented:
I would follow Amazon best practice to sysprep. It's pretty straight forward.

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ami-create-standard.html
enthuguyAuthor Commented:
Thanks Joshua,
Since we use wild card, it worked and thx for the sysprep. I was able to create a clean AMI after that.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.