netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
9.17k stars 680 forks source link

Generate Certificates #237

Closed burn2delete closed 4 years ago

burn2delete commented 6 years ago

Hello,

Can we please get some instructions on how to generate certificates for netboot.xyz?

Currently I cannot build my own version using the existing script.

dszidi commented 5 years ago

I'm trying to work around this as well. It looks like the pre-release script is tailored for the netboot.xyz site. It looks like there are references to the netboot.xyz certificate authority. So my first guess for a place to start is create a CA and make sure the pre-release script only references your CA.

thelamer commented 4 years ago

This is coming in full self hosting, and automated building with Ansible. When Version 2.x is released we will have documentation on self hosting locally and hosting a Website endpoint with signatures. General preview: https://github.com/netbootxyz/netboot.xyz/tree/development

thelamer commented 4 years ago

Please see these instructions for self hosting: https://netboot.xyz/selfhosting/ If you are looking for a local only type thing we also have a web application for configuring one: https://hub.docker.com/r/linuxserver/netbootxyz

antonym commented 4 years ago

There's also a deep dive into setting up the certs on the iPXE site. https://ipxe.org/crypto

You can generate the certs needed there and then there are options in the Ansible for specifying cert locations so that it will build the images for you.