• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Uniform Server] Installing SSL

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
1,470
Solutions
27
Reaction score
844
Location
Santiago - Chile
GitHub
ralke23
Twitch
ralke23
Hi again! I use UniformServer and have some doubts while installing SSL. The instruction is:
  1. Upload Certificate to Server
    First, copy your certificate files to the directory where you keep your certificate and key files. Typically, this directory is /etc/ssl/ for your certificate.crt and ca_bundle.crt files, and /etc/ssl/private/ for your private.key file.
  2. Locate Configuration File
    Next, you will need to find the Apache configuration file on your server. Depending on the server and OS version you are running on, the configuration file is stored in different directories. Typically, you could search the directories etc/httpd/, /etc/apache2/ or /etc/httpd/conf.d/ssl.conf for files named httpd.conf, apache2.conf or ssl.conf.
  3. Configure Virtual Host
    Once the Apache configuration file is located, you will need to configure the virtual host section of your website. Before you do so, please make sure to create a backup of your current *.conf file. This way, you will be able to undo any changes in case something goes wrong.

My question is, where does /etc/ssl/ or /etc/ssl/private/ locate in Uniform Server? At the moment I know that /etc/apache2/ should be located in UniServerZ\core\apache2\ anyways this is still messy for me, can someone explain me this with more detail? I'm getting guided by Installing SSL Certificate on Apache (https://help.zerossl.com/hc/en-us/articles/360058295854) and Apache - SSL (http://www.uniformserver.com/ZeroXI_documentation/apache_ssl.html)

Regards!
 
Solution
Ok finally figured out what to do.

a) Create cloudlfare account and register your domain
b) Update your nameservers to the cloudflare ones
c) Wait till it updates (a few hours, aproximatelly)
d) Create an A record for your address that links to your IPV4 that is PROXIED
e) Create a CNAME that links www that is PROXIED
f) Create a new A record that is not PROXIED. Example: login.@
g) Create PTR with inversed IPV4 and .in-addr.arpa, not sure what it is but you can find more information here

This way people with access to server with login.yourserver.com, and the address yourserver.com will be with SSL.
Also remember to activate the option "Always Use HTTPS" at Edge Certificates

1663032059032.png

If you get error 522, just revert...
Hello there!

Were you able to successfully install an SSL certificate under UniformServer?
If so, could you please provide the required steps? ;)

Thank you very much!
 
Hello there!

Were you able to successfully install an SSL certificate under UniformServer?
If so, could you please provide the required steps? ;)

Thank you very much!

Thanks for bumping the thread, because I couldn't find a solution. Still looking for this. specifically for UniformServer and ZnoteAAC. Regards!
 
Still looking for a tutorial 👀 Regards!

Before you say anything, hear me out.
You can use this tutorial, instead of using the Linux commands. Manually go into Uniform file location and enter in the information.

(Got it up running on windows server 2016, 2019 and windows 10)
 

Before you say anything, hear me out.
You can use this tutorial, instead of using the Linux commands. Manually go into Uniform file location and enter in the information.

(Got it up running on windows server 2016, 2019 and windows 10)
Hi, tested in windows server, worked but had some errors due to cloudflate security stuff.

errors like could not load some pages because they were in config.php re-directing to a non secure HTTPS and stuff like that, but thanks for your info.

And for all the players with a need of SSL, try to use Cloudflare or Let's Encrypt SSL certs, both free. A little hard to put em on tho.
 
I'm trying to follow this guide

But i'm having a little trouble here
1662706256158.png

Someone can assist me via discord, or tell me what is going wrong? The wacs program have changed a little bit compared to the one is shown in the link. I'm a little confused with it, thanks in advance!

Regards!
Post automatically merged:

Found this also, https://help.zerossl.com/hc/en-us/articles/360058295854-Installing-SSL-Certificate-on-Apache, already generated the SSL but can't reproduce the following steps, because I have no idea where I can find private.key and the other requested files....:

1662708177158.png

Upload Certificate to Server
First, copy your certificate files to the directory where you keep your certificate and key files. Typically, this directory is /etc/ssl/ for your certificate.crt and ca_bundle.crt files, and /etc/ssl/private/ for your private.key file


or where my *.conf is...
 
Last edited:
Ok finally figured out what to do.

a) Create cloudlfare account and register your domain
b) Update your nameservers to the cloudflare ones
c) Wait till it updates (a few hours, aproximatelly)
d) Create an A record for your address that links to your IPV4 that is PROXIED
e) Create a CNAME that links www that is PROXIED
f) Create a new A record that is not PROXIED. Example: login.@
g) Create PTR with inversed IPV4 and .in-addr.arpa, not sure what it is but you can find more information here

This way people with access to server with login.yourserver.com, and the address yourserver.com will be with SSL.
Also remember to activate the option "Always Use HTTPS" at Edge Certificates

1663032059032.png

If you get error 522, just revert nameservers, wait till it changes, and try to add the domain to cloudflare again.
Regards!
 
Solution
Back
Top