發表文章

目前顯示的是 8月, 2018的文章

Create Enterprise CA for Apach

圖片
1. install openssl on Linux     apt-gete update     apt-get install openssl 2. openssl -genrsa -out aaa.com.key 2048 3. openssl req -new -sha256 -key aaa.com.key  out aaa.com.csr     Country Name:     State:     Org:     OU:     Common Name:     Email Address: 4. make sure there are 2 files under the folder - aaa.com.key & aaa.com.csr 5. cat aaa.com.csr the copy red square part 6. paste it to Enterprise CA web portal  (https://aaa/certsrv/en-us) 7. choice as web server certificate 8. download aaa.cer and aaa.p7b 9. upload both file to Linux 10. openssl x509 -inform der -in aaa.cer -out aaa.pem 11. modify config file under /etc/apache2/site-available