Advanced REST Client NET::ERR_CERT_COMMON_NAME_INVALID and net::ERR_CERT_AUTHORITY_INVALID
UPDATE with better solutionUpdate 12-02-2018: ARC desktop client ignores all certificate errors and just make the request.
Install ARC desktop client to avoid any problem with the application.
UPDATE with solutionTo use ARC with invalid certificates use the Use XHR switch in the main toolbar.
|The Use XHR switch|
This extensions require new permissions:
- cookies - to be able to read cookies and send it to the app when making a request; only cookies for current request domain will be read and inserted to the headers part
- access to all websites - the cookies API can read cookies from domain that the extension can read from. Therefore access to all URL's is required
You can install additional extension from Chrome Web Store.
Below is the original post.
After a latest update some of you has issues with certificates in the app. You have probably seen one of this screens:
There is a solution for this. But first two words on underlying cause.
The app is a Chrome app and it is not using the same resources as the browser. Even if you allow the Chrome to enter the webpage that have certificate issues the app will not even know about it. And there is very little to do about it because the connection to external resources are controlled by Chrome.
If you see NET::ERR_CERT_COMMON_NAME_INVALID error - well, generate new certificate with proper domain name. Certificates must work on the domain that they were set for.
Fix NET::ERR_CERT_AUTHORITY_INVALID error in Advanced REST Client
It's quite easy. All its gone when you install the self signed certificate in the browser's certificates storage.
There is a video instruction of how to do it:
1. Click on the red lock in the URL bar and then details. Security tab in Chrome DevTools will appear. Click View certificate.
In new overlay select Details tab and click Export button. Save the file somewhere choosing PKCS # 7 single certificate option.
2. Open Chrome settings and under advanced find section Manage certificates button and click it.
In Authorities tab find Import button and open previously saved certificate.
Then select at least "Trust this certificate for identifying websites.".
After you restart Chrome and app it should work just fine.