# openssl genrsa -out key.pem 2048
- Create a certificate request. You will be asked to give information which will be included in the certificate.
# openssl req -new -key key.pem -out request.pem
- Create a self-signed certificate that is valid for a year:
# openssl req -x509 -days 365 -key key.pem -in request.pem -out certificate.pem
- Concatenate the key and certificate into a single file:
# cat key.pem certificate.pem >apache.pem
การทำแบบนี้เป็นการทำแบบ slef-signing ให้ไปไฟล์เดียว ไม่ได้ทำแบบ PKI ที่มีความปลอดภัยมากกว่า แต่พอไหวๆ
ที่มา: http://cens.ioc.ee/cens/local/howtos/creating-a-certificate-for-apache-ssl
Posted by Revolution
Thu, 31 Jul 2008 08:22:47 GMT
Posted in linux | Tags apache, generate, ssl | no comments | no trackbacks
I have a problem that I install passenger 1.0.3 that work fine with low transeaction web but for some web need high transaction , it need fcgi.
The question that how can I use fcgi for some web and other run by passenger
RailsAllowModRewrite on
RailsAutoDetect off
Posted by Revolution
Tue, 06 May 2008 15:47:10 GMT
Posted in ruby | Tags apache, fcgi, passenger, ruby, virtualhost | no comments | no trackbacks