Remove dummy certificate and move SSL methods to server