Please refer the below link, which describes very well about how to enable SSL in ruby application. http://www.eukhost.com/forums/f39/how-enable-ssl-rail-application-6555/
Archive for the ‘SERVICES’ Category
Default How to Enable SSL in Rail Application
Posted in Apache on October 26, 2009 | Leave a Comment »
Memory error on jsp page: Tomcat – java.lang.OutOfMemoryError: PermGen space
Posted in Apache on October 26, 2009 | Leave a Comment »
You might see this kind of memory error message in your jsp page. HTTP Status 500 – type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.OutOfMemoryError: PermGen space The error means that assigned memory to [...]
The script to show the JSP version
Posted in Apache on October 26, 2009 | Leave a Comment »
Create a test.jsp page in your domain and add the below code to the file Working with server: Servlet Specification: . JSP version: Check the test.jsp page at http://sitename/test.jsp and see the jsp version.
Restarting Tomcat shows error.
Posted in Apache on October 26, 2009 | Leave a Comment »
#/usr/local/jakarta/tomcat/bin/shutdown.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program This error means that JAVA_HOME or JRE_HOME paths are defined correctly. Set JAVA path as follows: [#] export JAVA_HOME=/usr/local/java Set JRE path as follows: [#] export JRE_HOME=/usr/local/jdk Again restart tomcat, it [...]
How to enable .jsp pages in cpanel
Posted in Apache, Cpanel on October 25, 2009 | Leave a Comment »
To enable .jsp pages in your account. /scripts/addservlets –domain=domain.com To disable .jsp pages in your account. /scripts/remservlets –domain=domain.com These cPanel scripts does the same operation.
How to configure Apache v2 to not accept weak SSL ciphers:
Posted in Apache, SECURITY on October 24, 2009 | Leave a Comment »
You will need to modify the SSLCipherSuite directive in the httpd.conf or ssl.conf file. An example would be editing the following lines to look similar to: SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM Restart the Apache process and ensure that the server is functional. Also retest using OpenSSL to confirm that weak SSL ciphers are no longer accepted.
Does your server support weak SSL ciphers?
Posted in Apache, SECURITY on October 24, 2009 | Leave a Comment »
How to test: You will need to have OpenSSL installed on the system that you will perform the tests from. Once installed, use the following command to test your web server, assuming port 443 is where you’re providing https connections: # openssl s_client -connect SERVERNAME:443 -cipher LOW:EXP If the server does not support weak ciphers [...]
How to configure Apache v2 to not accept SSLv2 connections
Posted in Apache, SECURITY on October 24, 2009 | Leave a Comment »
You will need to modify the SSLCipherSuite directive in the httpd.conf or ssl.conf file. An example would be editing the following lines to look similar to: SSLProtocol -ALL +SSLv3 +TLSv1 Restart the Apache process and ensure that the server is functional. Also retest using OpenSSL to confirm that SSLv2 is no longer accepted.
Does your server support SSLv2?
Posted in Apache, SECURITY on October 24, 2009 | Leave a Comment »
You will need to have OpenSSL installed on the system that you will perform the tests from. Once installed, use the following command to test your web server, assuming port 443 is where you’re providing https connections: # openssl s_client -ssl2 -connect SERVERNAME:443 If the server does not support SSLv2 you should receive an error [...]
HOW To upgrade to PHP 5.2.x on CentOS/RHEL/Fedoraedora
Posted in MIGRATION, Php, PLESK on October 11, 2009 | Leave a Comment »
To upgrade to PHP 5.2.x on CentOS/RHEL/Fedora: Step 1) Set up the atomic channel as follows: wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh Step 2) To upgrade to PHP 5.2.x: yum update php Step 3) Then you can replace the PHP 4 php.ini with PHP 5.2.x’s (if applicable): mv /etc/php.ini.rpmnew /etc/php.ini Step 4) Replace the [...]