Hosting Murah | VPS Murah
Hosting Murah | VPS Murah

Online Manual™

Files and Data Sharings
Software Sharings
WHMCS Scripts
Scripts Sharings, Etc..

How to install Self Signed Certificate for apache in a non-cpanel server?

Following are the steps used to install a self signed certificate in a non-cPanel server.

Let's assume, we want to install a self signed certificate for 'example.com'.

Ensure that the private key and CSR have been generated using openssl commands. (www.example.com.key and www.example.com.csr).
Please refer the following article to generate SSL Key, CSR for Apache in a non-cpanel server.

===
https://support.crucialp.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=90&nav=0,11
===

For testing purpose, we can generate a self-signed SSL certificate that is valid for 1 year using openssl command as shown below.

===========================
# openssl x509 -req -days 365 -in www.example.com.csr -signkey www.example.com.key -out www.example.com.crt
Signature ok
subject=/C=US/ST=California/L=Los Angeles/O=example/OU=IT/CN=www.example.com
Getting Private key
Enter pass phrase for www.example.com.key:

# ls -l www.example*
-rw-r--r-- 1 root root 963 Jun 13 20:26 www.example.com.key
-rw-r--r-- 1 root root 664 Jun 13 20:35 www.example.com.csr
-rw-r--r-- 1 root root 879 Jun 13 20:43 www.example.com.crt

# cat www.example.com.crt
-----BEGIN CERTIFICATE-----
haidfshoaihsdfAKDJFAISHTEIHkjasdjadf9w0BAQUFADCB
kjadfijadfhWQIOUQERUNcMNasdkjfakljasdBgEFBQcDAQ
kjdghkjhfortoieriqqeurNZXCVMNCMN.MCNaGF3dGUuY29
-----END CERTIFICATE-----
===========================

That's it.



Also Read




This order form is provided in a secure environment and to help protect against fraud your current IP address 3.235.107.209 is being logged.
WebserverOptimizer
LiteSpeed Web Server | Hosting MurahVarnish Cache | LiteSpeed with Varnish Cache
FFMPEGProgram
FFMPEG Hosting Support | Hosting MurahPHP Hosting | Murah Hosting
DatabaseOS
Mysql Database Hosting | Murah HostingCentOS | cPanel Hosting | Murah Hosting

 
CyberNet - Sebagai Web Hosting Indonesia Terbaik, kami bertekad memberikan layanan web hosting linux hemat murah dan handal unmetered. Hosting Indonesia Murah, Hosting Indonesia Handal,
Serta layanan dedicated server terbaik Indonesia, Cloud VPS USA, UK, Netherland dan Singapore Terbaik dengan memberikan servis yang berkualitas dan handal

2009 - 2020 CyberNet Solutions Hosting Murah - The Cheapest Web Hosting Provider Indonesia