AdguardTeam / AdguardTeam/AdGuardMiniForMac

Let's Encrypt root CA isn't working properly

Ouverte
#684 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Bug Priority: P4
Langage dominant
Swift
Étoiles
1.2k
Forks
83
Métriques de merge des PR
Métriques de PR en attente

Description

### Prerequisites

- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
- Although https://github.com/AdguardTeam/AdGuardForSafari/issues/115 is related, this is narrower in scope and can be resolved separately

### Issue Details

* AdGuard for Safari version: 1.10.4 (macOS App Store) and 1.11.0 (beta)
* Environment name and version: Version 15.3 (16612.4.9.1.7, 16612)
* Operating System: macOS Big Sur 11.6.3 (20G415)
* Filters you use in AdGuard: A hand-made filter hosted on a website that uses a Let's Encrypt certificate
* Any other browser extensions you have installed: None

### Expected Behavior

After inputting the URL to a server using a Let's Encrypt certificate in a New filter subscription modal, clicking the Next button should not show an error.

### Actual Behavior

A modal shows displaying an error message:

```
Error occurred
Unfortunately, your custom filter cannot be added due to an unexpected error.
```

The terminal shows an error message with more details:

```
Error download filter by url , cause: Error: certificate has expired
```

### Screenshots

Screenshot:

![Screen Shot 2022-02-11 at 2 41 06 PM](https://user-images.githubusercontent.com/107998/153680508-34a75c20-b042-4606-b231-4a3ad10d96c6.png)

### Additional Information

* One thing to try might be updating the Electron version in use: https://github.com/electron/electron/issues/31212

* Running AdGuard for Safari with the environment variable `NODE_TLS_REJECT_UNAUTHORIZED=0` resolves the issue but comes a self-evident drawback.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.