PDSecurityConfig is the configuration for supporting tls.