Creating a certificate for Apache-SSL : สร้าง SSL ให้กับ apach

  • Create a key file:

# 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[...]
Published on Thu, 31 Jul 2008 08:18
0 comments

Passenger with some fcgi

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 [...]
Published on Tue, 06 May 2008 15:37
0 comments

RSS