title: Apache2 SSL certificate error
body: <p>I am trying to add SSL certificates from Comodo Security Services on Apache/2.4.10 (Debian) OpenSSL/1.0.1k server.</p>
  
  <p>For configuration:</p>
  
  <pre><code>SSLEngine on
  SSLCertificateKeyFile /etc/ssl/24-06-2016/private.key
  SSLCertificateFile /etc/ssl/24-06-2016/account_veedo_ru_2017_06_24.crt
  SSLCertificateChainFile /etc/ssl/24-06-2016/intermediate.crt
  </code></pre>
  
  <p>I've got error after Apache2 restart:</p>
  
  <pre><code>[Thu Jun 30 07:39:20.895631 2016] [ssl:emerg] [pid 4614] AH02561: Failed to configure certificate account.veedo.ru:443:0, check /etc/ssl/24-06-2016/account_veedo_ru_2017_06_24.crt
  [Thu Jun 30 07:39:20.895688 2016] [ssl:emerg] [pid 4614] SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
  AH00016: Configuration Failed
  </code></pre>
  
  <p>For configuration:</p>
  
  <pre><code>SSLCertificateKeyFile   /etc/ssl/24-06-2016/private.key
  SSLCertificateFile      /etc/ssl/24-06-2016/account_veedo_ru_2017_06_24.crt
  SSLCACertificateFile        /etc/ssl/24-06-2016/intermediate.crt
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>[Thu Jul 07 18:22:21.423776 2016] [ssl:emerg] [pid 14180] AH02562: Failed to configure certificate account.veedo.ru:443:0 (with chain), check /etc/ssl/24-06-2016/account_veedo_ru_2017_06_24.crt
  [Thu Jul 07 18:22:21.423826 2016] [ssl:emerg] [pid 14180] SSL Library Error: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
  AH00016: Configuration Failed
  </code></pre>
  
  <p>What is wrong? How can I check my certificates? Please help!</p>