Windows famous because of the GUI to make everything easier. But when you have windows server core under your management without any documentation, this will make you wonder, why install windows server Core. Is more secure than windows server ?
We not talk about security now. What we are going to talk here is installation of SSL certificate which will be use by the Webservice.
Quite easy with some command, but the diligence to look for what command should you run is the aha moment.
Here i document my journey and the process to do it.
1. You will need other windows server GUI to be able manage the windows core server with GUI.
2. Install the certificate and the root using windows MMC, put on the trusted root certificate.
3. You have the .pfk certificate format to be installed on IIS. But you cannot do it via remote IIS console. its by design.
4. The way to install the pfk is copy your certificate to the core server, and run this :
C:/> certutil -importpfk <Path to certificate file>
If prompt for password, enter it and it will success.
5. The last part, change the binding using remote IIS console. Your new SSL certificate will be show up on the list of certificate.
Some notes, the IIS management service not run on the core server , you can start it by :
C:/> net start WMSVC
In my experience on this, really Microsoft windows try to be like Linux part, but it wont be the same.
In Linux every config file is accessible by a text editor.
That's all for my experience. Hope help someone.
And i did it !!!
0 comments:
Post a Comment