This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version TGates 6 11,674 11-25-2019, 11:21 AM
Last Post: TGates
My domain always redirect to control panel login page khir 2 7,660 09-15-2018, 11:06 PM
Last Post: khir
Help Dns Settings Sentora Integration With Windows Server kentaifina 1 1,998 05-05-2018, 03:52 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)