Configuring a custom certificate class for a Service