Fix certificate signing.