I know this is an old subject, I have read every post I can find on the subject, but still I cannot get this to work.
My SS Service runs inside a Windows Service using AppSelfHostBase. The actual API works great. However, it only seems to work with localhost.
I have an SSL certificate with the name rmserver.local, although self-generated, the CA is registered on the server and clients as a Trusted Root.
I use the code
_appHost = new AppHost() .Init() .Start(listeningOn)
to start the SS API. For the listening on, I have used https://+:86/api/, https://*:86/api/, and https://rmserver.local:86/api/. There is an active DNS record that points rmserver.local to the correct IP address.
I have mapped the port 0.0.0.0:86 with the correct application Guid and Certificate hash.
When I open the browser with https://localhost:86/api/ I see the metadata page. However, when I use https://rmserver.local:86/api/ I get a certificate name error. If I look at the certificate in the browser, it is using a localhost certificate, not the rmserver.local one.
Can someone please tell me what step I have missed? I thought I had done everything required, but always the same results.
I am grateful for any and all advise.