You can use the secure socket connection for creating a pdf at (notice the https protocol):
<a href="https://pdfmyurl.com/?url=google.com">A pdf to download</a>
If you copy paste that into your website html editor, then you get (go ahead, try and click it!):