คำถามที่พบบ่อย
เพื่อให้ใบรับรองปรากฏในรายการ "Local Certificate" จะต้องอยู่ใน Keychain ของ Mac OS X พร้อมกับคีย์ส่วนตัวที่เกี่ยวข้อง
คุณสามารถตรวจสอบสิ่งนี้ได้อย่างง่ายดายในแอปพลิเคชัน Keychain Access: หากใบรับรองแสดงอยู่ใน "My Certificates" (และไม่ใช่แค่ "Certificates") คีย์ส่วนตัวของใบรับรองนั้นจะพร้อมใช้งาน และคุณจะสามารถเลือกได้ใน VPN Tracker เป็น "Local Certificate"
หมายเหตุสำคัญสำหรับผู้ใช้ CheckPoint VPN:
ปัจจุบัน แอปพลิเคชัน Mac OS X Keychain Access ไม่สามารถอ่านคีย์ส่วนตัวจากใบรับรองบางรายการที่สร้างโดย CheckPoint ได้
หากต้องการนำเข้าใบรับรองอย่างถูกต้องไปยัง Keychain ของ Mac OS X โปรดแปลงก่อนด้วยเครื่องมือบรรทัดคำสั่ง openssl:
- เปิด Terminal ("Applications" > "Utilities" > "Terminal")
- แปลงใบรับรองเป็นรูปแบบ PEM:
openssl pkcs12 -in /Users/joe/Desktop/MyCheckPointCert.p12 -out /tmp/out.pem
แทนที่ /Users/joe/Desktop/MyCheckPointCert.p12 ด้วยเส้นทางไปยังใบรับรองที่คุณต้องการแปลง
You will first be asked for the password that the certificate is encrypted with. If you do not know it, please ask the administrator who has created your certificate for you. You will then be asked twice for a password to protect the exported PEM file. You can use the same password that the original certificte was encrypted with. Note that no characters will appear on screen while you type in your passwords. Simply type the password and press the return key.
- แปลงไฟล์ PEM กลับเป็นรูปแบบ PKCS#12 (.p12):
openssl pkcs12 -in /tmp/out.pem -export -out ~/Desktop/MyFixedCheckPointCert.p12
แทนที่ /Users/joe/Desktop/MyFixedCheckPointCert.p12 ด้วยเส้นทางที่คุณต้องการจัดเก็บใบรับรองที่แก้ไขไว้
You will first be asked for the password that you have just used for exporting to the PEM file, and then for a password to protect the fixed .p12 file with. You can again use the same password for everything.
ตอนนี้ดับเบิลคลิกที่ไฟล์ใบรับรองที่แก้ไขของคุณเพื่อนำเข้าสู่ Keychain ของ Mac OS X