ขอบคุณข้อมูลจากเว็บ: https://www.xolphin.com/
1 2 3 4 5 6 7 8 9 10 11 | # สร้างไฟล์ PEM ที่รวมทั้ง Private Key และ Certificate จากไฟล์ PFX openssl pkcs12 - in filename.pfx -out cert.pem -nodes # สร้างไฟล์ Private Key จากไฟล์ PFX openssl pkcs12 - in filename.pfx -nocerts -out key.pem # สร้างไฟล์ Certificate จากไฟล์ PFX openssl pkcs12 - in filename.pfx -clcerts -nokeys -out cert.pem # ลบรหัสผ่านออกจาก Private Key openssl rsa - in key.pem -out server.key |