www.question-defense.com | Engage: Visit :: Login :: Register
Translate to English Übersetzen Sie zum Deutsch/German Переведите к русскому/Russian Μεταφράστε στα ελληνικά/Greek Vertaal aan het Nederlands/Dutch ترجمة الى العربية/Arabic 中文翻译/Chinese Traditional 中文翻译/Chinese Simplified 한국어에게 번역하십시오/Korean 日本語に翻訳しなさい /Japanese Traduza ao Português/Portuguese Traduca ad Italiano/Italian Traduisez au Français/French Traduzca al Español/Spanish
0

Recently when installing a second SSL certificate for a secondary IP address on a Linux server running Litespeed as the web server I received the below error. The error at first made me think that maybe the key file still required a password even though I knew I had generated the key file not requiring a pass phrase. The error below will show up in your error.log file located in /var/lsws/logs/error.log.

Litespeed Log File Error:
2009-07-08 01:19:48.729 [ERROR] [SSL] Config SSL Context for listener 192.168.0.100:443 with Certificate File: /var/lsws/conf/cert/secondary.crt and Key File:/var/lsws/conf/cert/secondary.key get SSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line

In Litespeed the SSL configuration falls underneath the Listeners drop down item which can be located below Configuration. Once you make this selection you will see a list of the listeners or IP Address/Port combinations that Litespeed is listening to. I had the basic SSL configuration which is to assign port 443, tag the Secure radial button, put in the full path to the SSL key file, put in the full path to the SSL certificate file, and check the SSL versions to allow below.

Error Resolution:
After troubleshooting for awhile I finally figured out that this error was caused by one corrupt character at the beginning of the .crt file. So if you run across this error in the scenario I describe above the chances are that you have an extra space, an extra character, an extra line, etc. in either the SSL Certificate file (.crt) or the SSL key file (.key).


Kindle Wireless Reading Device (6″ Display, U.S. Wireless)

Amazon.com 2009, Electronics, $259.00

4.0

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineLinkedInYahoo! Bookmarks
Related posts:
  1. Generate a SSL Key Without a Password Followed by a CSR For Litespeed Web Server Litespeed was server is a nice light weight server that...
  2. Force Litespeed To Download A New Version And Then Upgrade Litespeed Via The LSWS Admin Interface There are a couple projects I work on that use...
  3. How to Start Ruby on Rails in Development Mode with LiteSpeed Web Server Starting ruby on rails in development mode with Litespeed is...
  4. Litespeed: Input Error Detected. Please Resolve The Error(s). Path Does Not Exist. Today I was configuring a server running Postgres, Ruby, &...
  5. Upgrade LiteSpeed Web Server to 4.0.1 from 3.3.24 on Linux Upgrading LiteSpeed web server from 3.x.x to 4.x.x is easy...

Tags: , , , , , , , , , , , , ,
2 Responses to “Litespeed: SSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line”
  1. Geoff says:

    Thanks for posting – saved my half an hour of head-scratching!

    [Reply]

    alex Reply:

    Hello Geoff,

    No problem. Glad it saved you some time.

    Thanks.
    alex

    [Reply]

  2.  
Leave a Reply