PDF printing issue

Hi,

recently I updated one of my sites to SSL, then the wkhtmltopdf library stops working, cheking out the output from console I found this:

“Failed loading page http://www.mysite.net/SCAPP/_lib/tmp/sc_grid_APP_html_a4601ad6445aa74bd2e11bdc99b6ad21.html

but then I enter the url in the browser and loads fine.

Why sc is pasing an http prefix instead https?

this is bringing out the problem.

I appreciate your help bros.