產生https所需要Key.pem與Cert.pem檔案 By fluber2025 年 1 月 14 日2025 年 1 月 14 日未分類 openssl genpkey -algorithm RSA -out private.pem openssl req -new -key private.pem -out mydomain.csr openssl x509 -req -days 365 -in mydomain.csr -signkey private.pem -out certificate.pem 最終得到的private.pem與certificate.pem