handle ssl cert for VPC

Closes #416