2023年9月2日 星期六

Generate PKCS#12 certificate from an OpenVPN configuration / 從OpenVPN設定檔製作PKCS#12格式的憑證

This article includes English and Chinese.
本文包含英文及中文

In general, when we use a PC / laptop as OpenVPN client, we just import the *.ovpn file created by OpenVPN server. However, some devices which supports OpenVPN client may not support importing the *.ovpn file, such as MOXA EDR-810 or OnCell devices.
一般來說,我們用電腦來做OpenVPN客戶端的時候,只需要匯入伺服器建立的*.ovpn設定檔;但有些支援OpenVPN客戶端的設備並不支援匯入設定檔的方式,例如MOXA的EDR-810或OnCell產品

This is a guide to generate a PKCS#12 format certificate (*.p12 file) from a *.ovpn file.
本篇文章將教學要如何從一個*.ovpn的OpenVPN設定檔產生一個PKCS#12格式的憑證檔案