Ford's Garage

Small garage of one Ford in the big internet


Fix up GSS-API authentication in Ubuntu 22.04


Problem

Unhandled exception. Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. GSSAPI operation failed with error - Unspecified GSS failure.  Minor code may provide more information (Crypto routine failure).
Reason

OpenSSL had deprecated and disabled (by default) MD4

Solution
1. Open the file /etc/ssl/openssl.cnf

sudo nano /etc/ssl/openssl.cnf
2. Edit sections provider_sect & default_sect, and add section legacy_sect

[provider_sect]
default = default_sect
legacy = legacy_sect

[default_sect]
activate = 1

[legacy_sect]
activate = 1