Install SSL through Shell
Today, I’m about to guide you how to install the SSL key and it will a bit tricky compare to generate the SSL CSR key.
To install the SSL key through Shell, refer to the step as below.
1. Go to path /usr/share/ssl/certs.
$ mickgenie@mickgenie.com[/]# cd /usr/share/ssl/certs
2. Check if the domain.com.csr and domain.com.cabundle existed, else create them and enter the code.
3. Go to path /usr/share/ssl/private.
$ mickgenie@mickgenie.com[/]# cd /usr/share/ssl/private
4. Use the CA key and create the domain.com.key and enter the code.
5. Backup your httpd.conf file and enter the following code before your virtualhost tag.
SSLEnable
SSLCertificateFile /usr/share/ssl/certs/domain.com.crt
SSLCertificateKeyFile /usr/share/ssl/private/domain.com.key
SSLCACertificateFile /usr/share/ssl/certs/domain.com.cabundle
SSLLogFile /usr/local/apache/domlogs/domain.com-ssl_data_log
SetEnvIf User-Agent “.*MSIE.*” nokeepalive ssl-unclean-shutdown
Note: If cabundle not exist then remove the whole line of cabundle(line4).
6. Restart the httpd services.
Run ASP.Net with cPanel
Nothing is impossible for Unix and many of the users do not know how to run ASP.Net framework from cPanel.
With this article, I will teach you how to enable ASP.Net Framework from cPanel, but before that, you must be the server owner/administrator for the server that tried to install this and have/have not setup the server.
To run ASP.Net(.aspx) from Apache, you may install third party component to support the ASP.Net. cPanel included a feature called EasyApache and EasyApache allow user to install third party component named mod_mono and mono project that make the possible for ASP.Net run in Apache.
For more information for the support component from the Microsoft .Net Framework, please refer to the mono default web page, Mono Project.
To run EasyApache, run the following script from root by using shell will do.
# /scripts/easyapache
![[Google]]( http://linux.mickgenie.com/wp-content/plugins/easy-adsenser/google-light.gif)