---
title: HTTP Proxy MFA Configuration
slug: singleconnect-reference-guide-3-1-0/http-proxy-mfa-configuration
description: Learn how to enable Multi-Factor Authentication (MFA) for HTTP Proxy with this step-by-step guide. Follow the instructions to establish an SSH connection, edit the proxy.properties file, restart the HTTP Proxy, and require OTP for login. The document also
docTags: 
createdAt: 2022-07-28T12:03:12.000Z
---

To enable MFA for HTTP Proxy:

1. Establish an SSH connection to Single Connect as the root user.
2. Edit the **proxy.properties** file with the command:
   **sudo vi /u01/http-proxy/conf/http\_proxy.properties**
   Search for http.proxy.otp.enabled parameter and set as true:
   **http.proxy.otp.enabled=true**
   Check the configuration file to see if the parameter above is already configured in it. If not, add the lines below. If there is a hash (#) sign in front of the parameters, delete the hash (#) sign to activate the parameter. If the parameter value is **false**, change it to **true**. To type or add anything in vi editor, first press the Insert button on the keyboard, then type the necessary line. Press Esc to exit typing mode. To save the file press Esc, then colon (:), type in **wq!** and press Enter. If you do not want to save the changes to the file, press Esc, then colon (:), then type in **q!** and press Enter.

- Restart the HTTP Proxy with the command:
  **sudo systemctl restart pam-http**
-  After these steps, OTP will be required following HTTP Proxy log in.


![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Qt3BViWXWjK3ylVfxpssN_image.png)

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ppbV3a-uOem88g14vsb4a_image.png)

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/5BLN0xpCFwXp8gXMxu4a9_image.png)

