Description of problem: RPM does not supports proxies with NTLM, but CURL already support $ sudo rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB curl: (7) couldn't connect to host error: http://yum.mariadb.org/RPM-GPG-KEY-MariaDB: import read failed(2). Please see there issue which already fixed: https://bugzilla.redhat.com/show_bug.cgi?id=769254
Rpm itself doesn't talk to proxies, it just calls an external helper (curl by default) for any remote files according to configuration. So if curl works with NTLM proxies with some extra switches, it's just a matter of telling rpm's configuration about those switches, for example: # echo "%__urlhelper_localopts --proxy-ntlm" > /etc/rpm/macros.proxy That will cause rpm to add --proxy-ntlm to the options curl gets called with. Adjust as necessary.