title: Wkhtmltopdf doesn't print images with subdomain
body: <p>I'm using <strong>Wkhtmltopdf</strong> to convert some files to PDF in a <strong>Symfony2</strong> application. In fact, <code>KnpSnappyBundle</code> does. This bundle works great, but I have one weird issue: </p>
  
  <p>The web application has two subdomains: <code>test.domain</code> and <code>prod.domain</code>. The two subdomains have exactly the same content at this moment.
  For some reason, the images (converted to PDF) are not printed when using the <code>prod</code> subdomain. But if I access the URL directly, the image exists. An example would be:</p>
  
  <pre><code>&lt;img src="prod.domain/img/theImage.jpg" /&gt; &lt;!-- This doesn't print the image but the URL is accessible --&gt;
  &lt;img src="test.domain/img/theImage.jpg" /&gt; &lt;!-- This works right --&gt;
  </code></pre>
  
  <p>I've finally decided temporally use the <code>test</code> subdomain image URL, but it's weird... Any idea?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p><strong>I forgot to say that the <code>prod</code> domain use SSL, while <code>test</code> doesn't. This seems to be the main problem.</strong></p>
  
  <p>I've executed from the server:</p>
  
  <pre><code> wkhtmltopdf https://prod.domain test.pdf
  
  Loading pages (1/5)
  QSslSocket: cannot resolve SSLv2_client_method               ] 10%
  QSslSocket: cannot resolve SSLv2_server_method
  Error: Failed loading page https://prod.domain (sometimes it will work just to ignore this error with --ignore-load-errors)
  </code></pre>
  
  <p>So I've tried again:</p>
  
  <pre><code>wkhtmltopdf --ignore-load-errors https://prod.domain test.pdf
  
  Loading pages (1/5)
  QSslSocket: cannot resolve SSLv2_client_method               ] 10%
  QSslSocket: cannot resolve SSLv2_server_method
  Warning: Failed loading page https://prod.domain (ignored)  
  Resolving links (2/5)
  Counting pages (3/5)                                                      
  Printing pages (5/5)                                                      
  Done               
  </code></pre>
  
  <p>But the new file is bank.</p>
  
  <p>If I use the <code>test</code> domain (no SSL):</p>
  
  <pre><code> wkhtmltopdf http://test.domain test.pdf
  
  Loading pages (1/5)
  QSslSocket: cannot resolve SSLv2_client_method               ] 21%
  QSslSocket: cannot resolve SSLv2_server_method
  Resolving links (2/5)                                              
  Counting pages (3/5)                                                      
  Printing pages (5/5)                                                      
  Done                      
  </code></pre>
  
  <p>I'm getting the first two errors, but it works and the file is correct.</p>