When Using Nuxt Axios Proxy Mode, Axios Config's httpsAgent Injection Cannot Handle Self-Signed Certificates on the Proxy Server
nuxt
2020-01-02 11:53 (6 years ago)

As of January 2, 2020
When using the proxy mode of axios with nuxt, an error occurred during connection because the target server was using a self-signed SSL certificate.
UNABLE_TO_VERIFY_LEAF_SIGNATURE
Referencing this:
https://teratail.com/questions/210638
I created and introduced a plugin to ignore the certificate error of axios, but it didn't change anything.
Looking at the axios issue, it seems to be an unresolved issue.
https://github.com/axios/axios/issues/1981
So, I decided to properly sign the certificate instead.
Please rate this article
Currently unrated
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.