在linux系统上 ,在须要转换的证书目录使用命令:linux
openssl x509 -in <要转换的证书> -out <转换的证书格式> -outform der
openssl命令详解参照一下网址:bash
http://man.linuxde.net/openssl