[ssl][error][apache1.3]

startsslで立ち上げようとすると

Unable to read server certificate from file /path/to/ssl.crt/server.crt (OpenSSL library error follows)
OpenSSL: error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data

こんなエラーが出るので調査。

結局server.crtが壊れているじゃないかということで、

http://www.atmarkit.co.jp/flinux/rensai/linuxtips/702apachessl.html

上記URLを参考に作成してcopyしたらうまく動きました。