added code for multiple ssl certs