aloopkin / WinCertes

An ACMEv2 client for Windows
GNU General Public License v3.0
118 stars 28 forks source link

Certificate name (visual name) conflict #14

Closed anibal-acosta closed 5 years ago

anibal-acosta commented 5 years ago

I need to add a seconds host to my IIS. For example, the First is: www.mydomain.com and the new is www.myotherdomain.com

I realize that wincertes creates a certificate and store it using just the first part of the domain, in this case will be "www" for both.

In the Binding window of the IIS Manager, the UI only show the Certificate Name (not the "issue to" information).

So, I thinks that could be a good practice to save the certificate not only using the first part of the domain but the complete domain name, and include the expiration date.

For example: Instead of "www", save as: "www.mydomain.com_exp2019-06-18"

aloopkin commented 5 years ago

Unfortunately, the way this name is handled, i can't do it that way. Nevertheless, i tried to improved it, the code is commited and pushed. Can you please check?