# Advanced configuration

## HTTP configuration <a href="#http-configuration" id="http-configuration"></a>

To operate, SonarQube for Visual Studio needs to perform HTTP requests, especially in [connected-mode](https://docs.sonarsource.com/sonarqube-for-visual-studio/connect-your-ide/connected-mode "mention"). While SonarQube for Visual Studio will work out-of-the-box in most situations, some network infrastructure may require a custom configuration.

## Proxy configuration

When connecting to a SonarQube instance running behind a proxy, SonarQube for Visual Studio will use the your Windows-defined proxy settings. See the [Microsoft documentation](https://support.microsoft.com/en-us/windows/use-a-proxy-server-in-windows-03096c53-0554-4ffe-b6ab-8b1deee8dae1) for more information about setting up a proxy server connection.

## Manage your configuration <a href="#manage-your-configuration" id="manage-your-configuration"></a>

### Server SSL certificates <a href="#server-ssl-certificates" id="server-ssl-certificates"></a>

When encountering an untrusted certificate, SonarQube for Visual Studio will inform the user with a notification that *the server certificate can not be verified*.

<div align="left"><img src="https://1613591589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5CSDwdOaYoOAGYNiRqgl%2Fuploads%2Fgit-blob-2795c4b849e567f609444067ba1de620f2aaf953%2F7bf2f91327ee73e1641735b9c18234c63108ef2a.png?alt=media" alt="SonarQube for Visual Studio will provide a gold bar notification if your certificate cannot be verified." width="563"></div>

The `truststore.p12` is expected to be found in the default location as listed below; add it manually if it doesn’t exist. Here is an example command that might work for your configuration:

```bash
keytool -import -trustcacerts -keystore ~/.sonarlint/ssl/truststore.p12 -storepass sonarlint -noprompt -file <YOUR_CERTIFICATE_NAME.cer>
```

**TrustStore**

**sonarlint.ssl.trustStorePath**

Path to the keystore used by SonarLint to store custom trusted server certificates

**default**: `~/.sonarlint/ssl/truststore.p12`

**sonarlint.ssl.trustStorePassword**

Password of the truststore.

**default**: `sonarlint`

**sonarlint.ssl.trustStoreType**

The format of the keystore file is found in the Oracle documentation.

**default**: `PKCS12`

If you're having troubles connecting to the server due to SSL/TLS errors, see the [#ssl-tls-errors](https://docs.sonarsource.com/sonarqube-for-visual-studio/resources/troubleshooting#ssl-tls-errors "mention") troubleshooting article.
