Jump to content
The Uniform Server Community

How to use SSL for all vhosts?


ong2019
 Share

Recommended Posts

Hi,

I am glad I found uniformserver (instead of using xampp). Thank you developers for this great tool.

 

Unfortunately I am stuck however:

 

Now I want to set up a certificate which is used for both in the httpS

 

So, I created a certificate *.mydns.org

Files for site a.mydns.org sit in /vhosts/siteA and files for site b in /vhosts/siteB.

 

When I try to open either httpS://a.mydns.org or httpS://b.mydns.org I am seeing the (index) page from the SSL root: /ssl

 

What do i need to change, that both sites can be reached (only) by httpS

 

Maybe someone is suggesting to use a(nother) certification service?

 

Thanks already

Olaf

Link to comment
Share on other sites

  • 5 months later...

Note sure about the latest version of US (I'jm still using 7.0.1 orion - it's brilliant and means no runtime dependencies) but in my version there is a tool for creating ssl certificates located in \UniServer\unicon\key_cert_gen\Run.bat

It only creates a cert for the main server (not virtual hosts) but it's hackable..

As for seeing the vhosts you need to change teh ssl config file - it's similar to http.conf.

Link to comment
Share on other sites

Hi Twinky,

thanks. Even though this is not relevant for me anymore, I meant something else: I did not need self signed, but "real" certificates. I was able to create an export of the needed files, but I did not succeed to make use of them.

Fortunately, I am back on a hosted server with a Let's Encrypt certificate now.

Thank you for your reply anyways. Maybe someone else can make use of our talk.

Olaf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...