Do not trust all SSL certs

Fix #1036