Subscribe

How to install sw-nginx-module-auth-totp in CentOS/RHEL 7 (x86_64)

Time-based one-time password (TOTP) authentication for NGINX

License: MIT Vendor: GetPageSpeed LLC https://github.com/61131/nginx-http-auth-totp
Important: The Plesk control panel must be installed on your server before using this repository.

Install

# The Plesk control panel must be installed on your server.
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable getpagespeed-extras-plesk
sudo yum -y install sw-nginx-module-auth-totp

Description

The Time-based One-Time Password (TOTP) algorithm, provides a secure mechanism for short-lived one-time password values, which are desirable for enhanced security. This algorithm can be used across a wide range of network applications ranging from remote Virtual Private Network (VPN) access, Wi-Fi network logon to transaction-orientated Web applications. This module provides TOTP authentication for a NGINX server. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable auth-totp

RPMs