bubblewrap update throws ERROR unable to verify the first certificate
See original GitHub issueDescribe the bug
I decided to use bubblewrap update
to regenerate and update projet (this is not the first time I do it). Unfortunately the CLI can’t start updating and throws the following error: cli ERROR unable to verify the first certificate
(can be seen on the screenshot too). This happen no matter if I write different app version or skip this step.
To Reproduce Steps to reproduce the behavior:
- Navigate to your bubblewrap project folder
- Run
bubblewrap update
(doesn’t matter if you chose different app versionName or not)
Expected behavior Bubblewrap should regenerate the Android project and update your app version code in the twa-manifest.json file
Screenshots
Additional context
I use the latest version of the bubblewrap cli (1.18.0)
Maybe worth to notice that the bubblewrap build
command still works just fine and builds the app.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Error: unable to verify the first certificate in nodejs
It means that the webserver you are connecting to is misconfigured and did not include the intermediate certificate in the certificate chain it...
Read more >Error: unable to verify the first certificate. How to fix? - NodeBB
As that answer on SO says, the error unable to verify the first certificate means that the webserver you are connecting to is...
Read more >node-fetch fails to get manifest (because cert is newly issued?)
This bug was first filed here on the PWABuilder repo. I believe the error is coming from Bubblewrap itself, likely the TwaManifest.
Read more >Unable to verify the first certificate - Bugs - Bubble Forum
Hello, I am getting an issue when going for the API call from the API connector plugin while it's working from the postman...
Read more >Unable to Verify First Cert Issue - Enable SSL Cert Verification
Navigate to Certificate > Web Hosting > Certificates and select your SSL cert · Then right click and select “All Task” & “Export”...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tried that but weirdly enough didn’t help… I restarted the apache server but still the same.
EDIT: Actually I fixed the issue. I had to provide a
SSLCertificateChainFile
to the Apache configuration as well. The Apache docs say:But my server version is 2.4.6 😄 so I had to add it. Adding it fixed the original issue so let this stay here as an info to whoever uses Apache server with version < 2.4.8.
Closing the issue with the following comment to whoever finds it:
If you are running your web app on an Apache/httpd server, make sure you provide the path to the fullchain.pem certificate for
SSLCertificateFile
as mentioned here: https://community.letsencrypt.org/t/unable-to-verify-the-first-certificate/140756If the version of the Apache server is < 2.4.8 you have to provide a
SSLCertificateChainFile
(pointing to the chain.pem certificate) to the Apache configuration as well, based on their docs:I hope this helps