Getting SSL certificate/key from database