2 ms·
Is there a good reason why running this requires you to install a certificate authority? I get that this might be because of software signing requirements on W
by jeroenhd 8y ago
Is there a good reason why running this requires you to install a certificate authority?
I get that this might be because of software signing requirements on Windows, but in that case you should bundle a script that generates+signs the build using a local certificate instead of loading a random CA into the system trust source.
- loeg 8y agoUWP apps are signed. To sideload, you either need to enable developer mode (allow installing untrusted app signatures), OR install the signing CA (but don't enable developer mode). Your proposed individual CA model does seem like an improvement for that route, but I just enable developer mode.
- jeroenhd 8y agoInteresting. If turning on developer options also allows you to run unsigned software, I don't see any advantages at all for installing this random certificate authority. Thank you for your explanation.
- crazysim 8y agoIt would mean you don't trust some other certificate authority implicitly. That's the advantage. It's nice to have that choice.
- _underfl0w_ 8y agoDo you know of any examples offhand that use the method you describe? It sounds super interesting. I've actually been looking for a way to deal with certificates (and ditch the warnings from Windoze) for internal C# tools at work.
- jeroenhd 8y agoYou can generate your own CA using common open source software (openssl is often used) and use that to sign your packages (and sign any intranet websites you can't be bothered to set up letsencrypt for). This website has a nice intro into running your own CA: https://roll.urown.net/ca/index.html https://roll.urown.net/ca/index.html You can use the CA itself or an intermediary to sign your software. However, be aware that this will only work on computers with your personal CA installed in the trust store. I'm pretty sure network admin related versions of Windows also have tooling for operations like this but I have no experience with those. Be warned though, a self-signed CA can be dangerous if someone else gets their hands on your private key. I myself have set up intermediary CAs to deal with HTTPS certificates or code signing certs so I can store the CA private key somewhere safe.