Switching to secure server mode