# ERR\_SSL\_VERSION\_OR\_CIPHER\_MISMATCH issue in NPM with cloudflare dns

**URL:** <https://forum.hhf.technology/t/err-ssl-version-or-cipher-mismatch-issue-in-npm-with-cloudflare-dns/81>\
**Category:** Tutorials\
**Tags:** unraid, npm, docker\
**Created:** [October 9, 2024, 10:39am UTC](https://forum.hhf.technology/t/err-ssl-version-or-cipher-mismatch-issue-in-npm-with-cloudflare-dns/81 "2024-10-09T10:39:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [October 9, 2024, 10:39am UTC](https://forum.hhf.technology/t/err-ssl-version-or-cipher-mismatch-issue-in-npm-with-cloudflare-dns/81/1 "2024-10-09T10:39:33Z")

</div>

If you are using Nginx Proxy Manager (NPM), you can configure SSL settings through its web interface. Here’s how you can address the `ERR_SSL_VERSION_OR_CIPHER_MISMATCH` issue in NPM:

### Step-by-Step Guide for Nginx Proxy Manager

1. **Access Nginx Proxy Manager:**  
Open your Nginx Proxy Manager web interface by navigating to its URL in your web browser.

2. **Edit the Proxy Host:**

3. **SSL Configuration:**

4. **Select SSL Certificate:**

5. **Advanced SSL Options:**

6. **Custom SSL Configuration:**  
To specify SSL protocols and ciphers, you need to add custom configuration options. This can be done through the “Custom Nginx Configuration” feature in NPM.

7. **Save and Apply Changes:**

8. **Verify Cloudflare Settings:**

### Example Custom SSL Configuration in NPM

Here’s a more detailed example of what your custom configuration might look like:

```nginx
location / {
    proxy_pass http://your_backend_server;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;

    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384';
    ssl_prefer_server_ciphers on;
}

```

### Additional Tips

- **Intermediate Certificates:**  
Ensure that any intermediate certificates are correctly included in your SSL certificate chain.

- **Update NPM:**  
Ensure you are using the latest version of Nginx Proxy Manager to benefit from the latest security updates and features.

By following these steps, you should be able to resolve the `ERR_SSL_VERSION_OR_CIPHER_MISMATCH` error while using Nginx Proxy Manager with Cloudflare.
