Re: ssl on apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Melanie Pfefer wrote:
> Is it a problem with the certificate or something I should change in httpd.conf?
> 
> openssl x509 -noout -text -in /usr/local/apache/conf/ssl/server.crt
> unable to load certificate
> 25764:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:647:Expecting: TRUSTED CERTIFICATE

It looks like the .crt file is not a certificate.

A certificate should look like:

-----BEGIN CERTIFICATE-----
MIIExzCCA6+gAwIBAgIJAO5VTP+R//aVMA0GCSqGSIb3DQEBBQUAMIGdMQswCQYD
VQQGEwJOTDEWMBQGA1UECBMNTm9vcmQtSG9sbGFuZDESMBAGA1UEBxMJQW1zdGVy
ZGFtMRMwEQYDVQQKEwpvbmx5Zm9yZnVuMQswCQYDVQQLEwJJVDEaMBgGA1UEAxMR
...
(a lot more junk)
...
OW55Ibzf7cPOVmzKdnqa+oMo/AB7QB0wgKx1+Dl7Dp/hmFoJCh/WTrJx4S62DEP+
8ihnAjX4R0s7fxk/nCLt7jADze8iMhHJ03oV
-----END CERTIFICATE-----

See if yours has something else in it instead.

Davide

-- 
It's Mickeysoft for pity's sake.  *OF COURSE* it's going take all the
ram in range.  I'm surprised the fsking box doesn't grow tentacles and
start stealing DIMMs from the machines next to it.
-- JoeB

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux