Force Insomnia to use the system trust store
PSA: Electron developers and others, please stop making use of custom CA a PITA by embedding your own trust store and stop advicing users to disable SSL validation when they have errors. At work we emit X.509 certificates from several internal certificate authorities. When you play with internal CA you must update the trusted store of your system or your application in order to get valid interactions.
On Linux you may add bundles to the system trust store with the help of update-ca-certificates. Your internal CA will be thus trusted by tools like curl, wget or even PHP applications.
kdecherf ~ %