How To Install mod_auth_openidc.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mod_auth_openidc.x86_64 in Amazon Linux 2. mod_auth_openidc.x86_64 is OpenID Connect auth module for Apache HTTP Server

Introduction

In this tutorial we learn how to install mod_auth_openidc.x86_64 on Amazon Linux 2.

What is mod_auth_openidc.x86_64

This module enables an Apache 2.x web server to operate as an OpenID Connect Relying Party and/or OAuth 2.0 Resource Server.

We can use yum to install mod_auth_openidc.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mod_auth_openidc.x86_64.

Install mod_auth_openidc.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mod_auth_openidc.x86_64 using yum by running the following command:

sudo yum -y install mod_auth_openidc.x86_64

How To Uninstall mod_auth_openidc.x86_64 on Amazon Linux 2

To uninstall only the mod_auth_openidc.x86_64 package we can use the following command:

sudo yum remove mod_auth_openidc.x86_64

mod_auth_openidc.x86_64 Package Contents on Amazon Linux 2

/etc/httpd/conf.d/auth_openidc.conf
/etc/httpd/conf.modules.d/10-auth_openidc.conf
/usr/lib64/httpd/modules/mod_auth_openidc.so
/usr/share/doc/mod_auth_openidc-1.8.8
/usr/share/doc/mod_auth_openidc-1.8.8/AUTHORS
/usr/share/doc/mod_auth_openidc-1.8.8/ChangeLog
/usr/share/doc/mod_auth_openidc-1.8.8/DISCLAIMER
/usr/share/doc/mod_auth_openidc-1.8.8/README.md
/usr/share/licenses/mod_auth_openidc-1.8.8
/usr/share/licenses/mod_auth_openidc-1.8.8/LICENSE.txt
/var/cache/httpd/mod_auth_openidc
/var/cache/httpd/mod_auth_openidc/cache
/var/cache/httpd/mod_auth_openidc/metadata

References

Summary

In this tutorial we learn how to install mod_auth_openidc.x86_64 on Amazon Linux 2 using yum.