[00:04] minimal: a root cert, valid for the next 20 years…? [00:09] meena: well for your own (self-signed) use you can use whatever you want ;-) [00:09] if you're asking about policy for official Root CAs you'd need to check the CAB Forum documents [00:12] aye [00:12] Let's start by removing some certificates! [00:13] cuz I'm too tired to go creating fresh ones [00:17] meena: wait, we can't just delete one of the currently trusted certs, they're *all* deleted? [00:22] meena: yupe, that was why I suggested you test on a throwaway VM and mentioned curl/wget/etc having problems due ot missing CAs ;-) [00:26] * meena creates a snapshot [00:36] minimal: first problem found! [00:36] don't keep me in suspense....lol [00:39] minimal: if we're adding FrcccccclvlvgrufghghchhvdjbblebnjkcreublllteiceeBSD [00:39] to the module, we also need to enable the module in cloud.cfg.tmpl [00:40] minimal: but at least i got my setup back in order for being able to actually test this. [00:41] also, i think I should be easily able to test remove_defaults, and reinstall it, because pkg's certificate validation is independent of the rest of the system. [00:41] ah, doh! let me look at cloud.cfg.tmpl [00:42] do, I'll look at going to bed now [00:43] right, there's a "if not variant.endswith("bsd")" in the template, I'll change that and update the PR [00:45] we support FreeBSD, not even dragonfly yet: https://man.dragonflybsd.org/?command=certutil§ion=ANY [00:45] and pkg puts its keys into /usr/share/keys/pkg/trusted/ so that's safe… [00:45] okay gotta go now after the dog === meena4 is now known as meeena === meeena is now known as meena [16:14] hey folks, when using custom data on a new deployment, is it required the shebang for the interpreter be added in the file? [16:15] I think it just makes sense as cloud-init needs a way to differentiate the scripts from a clound-config file, but not sure if it is mandatory [16:15] esv: you mean user-data (when you say "custom data") ? [16:16] esv: look here: https://cloudinit.readthedocs.io/en/latest/explanation/format.html [16:16] well, azure api calls it custom-data but if it is better known as user-data, I'd go with that. [16:16] that defines the various formats of user-data [16:17] thanks [16:17] for a shell script the section "User data script" says: "Begins with: #! or Content-Type: text/x-shellscript when using a MIME archive" [16:22] thank you === arif-ali_ is now known as arif-ali [20:14] FYI: Amazon have implemented a configuration system for their BottleRocket OS that is similar to cloud-int except it uses TOML: https://github.com/bottlerocket-os/bottlerocket/blob/develop/PROVISIONING-METAL.md [22:01] something less awful than https://noyaml.com/ ?! [22:17] minimal: well, it works and it doesn't work… [22:28] we have two certificate stores… most of ports software uses ca_root_nss; I'm just surprised that fetch (from base) also uses it, must be a fallback [22:33] meena: so what works? and also what does not work? lol [22:37] minimal: removing all the default system worked. but I'm surprised that everything still works. because ca_root_nss is installed for some ports like git [22:38] meena: perhaps there is still a "bundle" file somewhere that is used? [22:38] it installs into /usr/local/share/certs, and this is a location all ssl linked software checks [22:38] minimal: that *is* the bundle. ca_root_nss that is. [22:39] anyway, this is a FreeBSD problem, not a you problem. [22:39] I'll test installing a certificate next. [22:39] ok, thanks. There was little docs online that I could find about how FreeBSD deals with certs [22:42] time for you to share your script :P