Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

New to SSL. I had a certificate signed and I am trying to get the cert I generated loaded into LiteSpeed. However I have one issue.

2012-11-01 20:30:33.121 NOTICE  [PID: 28139]: start cgid: 28140, /usr/local/lsws/bin/httpd
2012-11-01 20:30:33.122 ERROR   [SSL] Config SSL Context with Certificate File: /usr/local/lsws/domain.org.csr and Key File:/usr/local/lsws/domain.org.csr get SSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line
2012-11-01 20:30:33.122 INFO    Stop listener *:443.
2012-11-01 20:30:33.122 ERROR   [config:server:listener:SSL] failed to start SSL listener on address *:443!

The location of the .crt and .key I generated are under /usr/local/lsws.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The .csr file is only used once, to send to the CA to get the certificate. Your web server config only needs the .key and the .crt file. (And potentially a chain file if your CA requires that. They should have mentioned it and supplied one if they do.)

I'm not familiar with LiteSpeed but I would guess that the Certificate File mentioned in the error message should be the .crt and the Key File mentioned in the error message should be the .key.

The docs look to support my guess. Once you have got it up and running, check with with the SSL checker to make sure it's all correct.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.