2005年11月19日 星期六

Encrypted PEM key

昨天遇到一個 PEM 格式如下:
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-CBC,44CD3CBDEBDBDA7B

代表著是被 encrypted。當要使用時必須輸入密碼。
利用 openssl 工具即可容易處理。

$ openssl rsa -in encrypted.pem -out uncrypted.pem
Enter pass phrase for encrypted.pem
writing RSA key
$

可是我忍不住要抱怨一下。
機車喔,這麼容易的事為什麼高級的 XXXXX 設備不自動處理也不跳個視窗告訴我格式不符的原因。

關於 openssl 更多使用範例可參考 SSL and secure servers


1 則留言:

sagefaga 提到...

Here are the preferred roulette video games that you’ll discover at gambling websites. Most casinos will offer a model of European or American roulette video games, but tons of|there are numerous} more on the market. Let’s dive slightly thekingcasino.info deeper into the highest three on-line roulette real cash casinos. You can expect a safe and enjoyable expertise at these roulette websites. Experience the thrill as should you were at a on line casino in Las Vegas straight from your pc or phone. Find the live vendor video games find a way to|you probably can} play at US-friendly on-line casinos.