---
title: Configuring MFA for HTTP Proxy
slug: kronpam-getting-started-guide/configuring-mfa-for-http-proxy
description: Learn how to enable Multi-Factor Authentication (MFA) for your HTTP Proxy with this comprehensive guide. Follow the step-by-step instructions which include establishing an SSH connection, editing the proxy.properties file, configuring a specific parameter
docTags: 
createdAt: 2023-09-08T13:56:52.253Z
---

To enable MFA for HTTP Proxy, follow the steps below.

1. Establish an SSH connection to Kron PAM as the root user.&#x20;
2. Edit the proxy.properties file with the following command line.                                                     `vi /pam/https/conf`

:::hint{type="info"}
To type or add anything in the vi editor, first press the Insert button on the keyboard, then type in the necessary line. Press Esc to exit typing mode
:::

- Check the configuration file to see if the parameter below is already configured in it. If not, add the line below.&#x20;
  `http.proxy.otp.enabled=true`
  If there is a hash (#) sign in front of the parameters, delete the hash (#) to activate the parameter. If the parameter value is false, change it to true.&#x20;
- To save the file, press Esc, then colon (:), and then type in **wq!** and press enter. If you don’t want to save the changes on the file, press Esc, then colon (:), type in **q!,** and press enter.
  &#x20;
- Restart the HTTP proxy with the following command:  &#x20;
  1. `systemctl restart `
  2. `pam_http_service`

After these steps, OTP will be required after the HTTP Proxy login.

