move certs to correct location
fix ssl logic, should be working now