Fix ssl keyring management