I have 2 web servers, A and B. A is a web site used by users and B is a bunch of web services used by server A. So I like to enable https for server B. Since no browsers are supposed to go here I thought it would be sufficient to use a self signed certificate. I successfully created a self signed certificate on server B(through IIS) and exported it, copied to server A, added it to the trusted certificates. But still I get an browser warning when opening a https connection to server B. I suspect the problem is that the certificate is bound to machine-name and not to myservices.mydomain.com ?
So 2 questions
Is it "ok" to use a self signed certificate for a server only serving my website?
If so, how can I generate this?