TUTORIAL: How To Use SSL On VertrigoServ And Arcturus Morningstar Emulator

Today i'm here to share with you how to enable ssl on your vertrigo and Arcturus Morningstar you can use this tutorial even if you only use vertrigo for your projects and want to enable ssl, so enjoy the tutrial :)

-Generate the certificate on a website (in this tutorial i use zerossl, but you can use any other)

https://zerossl.com/

download the generated .zip file

rename them to server.crt, server.key, server-ca.crt


-Open 'C:\Program Files\VertrigoServ\Apache\conf\httpd.conf'

Enable SSL Module

Enable socache_shmcb_module Module

Load the httpd-sll file


-Open C:\Program Files\VertrigoServ\Apache\conf\extra\httpd-ssl.conf

replace all ${SRVROOT} for nothing

set DocumentRoot to "C:\Program Files\VertrigoServ\www"

set ServerName to yourSite.com:443


-Convert the certificates to .pem

Download OpenSSL https://slproweb.com/products/Win32OpenSSL.html 

put OpenSSL path on your environment variables

Open cmd on the folder where is server.crt and server.key

openssl x509 -in server.crt -out cert.pem -outform PEM

openssl rsa -in server.key -out privkey.pem -outform PEM


-Create the ssl folder on Emulator folder and paste the .pem files


-On emulator config.ini:

db.params=?characterEncoding=utf8&useSSL=true

enc.enabled=true


-update:

use the website address to call the emulator on client files istead of the ip.

like : wss:yourwebsite.com:2096


if you have any question, call me on discord: cxp6203