SSL Login Sentora for windows
#1
SSL Login Sentora for windows
Hi

I wold like to know if anyone got ssl login working in sentora pannel for windws and in the webmail module too...

I'v read the old zpannel for Windows tutorial but i wold like to know if anyone have tried it in the new sentora for Windows

Thank you!
Reply
#2
RE: SSL Login Sentora for windows
i have it running
i found a lot of threads here that made life easy

1 = make sure you have openssl installed
mine is installed here C:\Sentora\bin\openssl\
https://openssl-for-windows.googlecode.c..._WIN32.zip

2 = load module in httpd conf Remove #LoadModule ssl_module modules/mod_ssl.so so it looks like this

Code:
LoadModule ssl_module modules/mod_ssl.so

3 = create your certificates  like this in openssl open cmd prompt run as admin
cd  C:\Sentora\bin\openssl\
change the name to what you want it called ex. name.key=server.key do to all with name

Code:
openssl genrsa -des3 -out name.key 1024 openssl req -new -key name.key -out name.csr openssl rsa -in name.key.org -out name.key (for this step rename this to name.key.org) openssl x509 -req -days 365 -in name.csr -signkeyname.key -out name.crt

4 = create a folder ssl if not already made in C:\Sentora\bin\apache\conf\  put your crt and key in here after created C:\Sentora\bin\apache\conf\ssl\

5 = now open C:\Sentora\bin\apache\conf\extra make a new file call it http-ssl-vhost.conf open file in notepad2( http://www.flos-freeware.ch/zip/notepad2_4.2.25_x86.zip )add this

Code:
# Configuration for Sentora Control Panel. <VirtualHost *:443> ServerName Your Domain.com ServerAdmin webmaster@Your Domain.com DocumentRoot "C:/Sentora/panel/" AddType application/x-httpd-php .php DirectoryIndex index.php index.html <Directory "C:/Sentora/panel/"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> SSLEngine on    SSLCertificateFile C:\Sentora\bin\apache\conf\ssl\name.crt    SSLCertificateKeyFile C:\Sentora\bin\apache\conf\ssl\name.key </VirtualHost>

Change name to what you used

6 = Open C:\Sentora\bin\apache\conf\httpd.conf and add this to httpd.conf

Code:
#CUSTOM SSL CONFIGURATION Include conf/extra/http-ssl-vhost.conf

7 = Restart Apache test  https://yourserver.com

hope this helps

you can also go to sentora config Sentora Apache Port 80 to port 443


Code:
NameVirtualHost *:443

than Module Admin  Apache config add this to Global Sentora Entry 


Code:
 SSLEngine on   SSLCertificateFile C:\Sentora\bin\apache\conf\ssl\name.crt    SSLCertificateKeyFile C:\Sentora\bin\apache\conf\ssl\name.key

Change name to what you used
do steps 1 to 4 for this
Reply
#3
RE: SSL Login Sentora for windows
Attention!
Do not do what he said
In Sentora for Windows is already installed OpenSSL
Read this http://forums.sentora.org/showthread.php...0#pid13030
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora for Windows 1.0.0 released! MarkDark 72 274 ,383 04-01-2022, 09:41 PM
Last Post: cathelest
ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version TGates 20 72 ,917 09-30-2021, 09:36 PM
Last Post: cathelest
Sentora on Windows ANY NEW INSTALLER elmoutakaf 3 13 ,403 10-04-2020, 02:37 AM
Last Post: Gigamax

Forum Jump:


Users browsing this thread: 1 Guest(s)