TLS config causes Object class violation