The only time self-signed certificates are insecure is if you don't verify the certificate signature. It is always necessary to verify a cer[…]