Add debug and certs
Add p12 cert
fix deprecation warning