The problem is that I don't have a trusted certificate. So I can't use the first solution (which I've already tried, by the way).
For the second solution, which I've also tried, I still have the problem of entering a certificate that I don't have. I've tried retrieving the self-signed certificate with Firefox, but the connection ends with a timeout...
Anyway, thanks for trying to help.
I got the certificat using firefox (export certificat), but it doesn't works. Always a timeout :/