Pessoal, bom dia

Estou migrando um ambiente CentOS para FreeBSD (Apache+SSL). Após copiar os
arquivos realizei a configuração do [1]httpd-ssl.conf como estava no CentOS
porém quando tento inicializar o apache recebo o seguinte erro[2].

Tentei validar o certificado[3] porém estou recebendo erro também. Alguém já
pegou esse erro?

1.  /usr/local/etc/apache22/extra/httpd-ssl.conf
2.
[Fri Jan 24 08:46:06 2014] [error] Init: Unable to read server certificate from 
file /usr/local/www/ssl/certificado.csr
[Fri Jan 24 08:46:06 2014] [error] SSL Library Error: 218529960 
error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Fri Jan 24 08:46:06 2014] [error] SSL Library Error: 218595386 
error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

3.
# openssl x509 -in certificado.crt -text -noout
unable to load certificate
34379118248:error:0906D06C:PEM routines:PEM_read_bio:no start 
line:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/pem/pem_lib.c:703:Expecting:
 TRUSTED CERTIFICATE
-- 
Leonardo Thozo
http://thozo.org
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a