So I set up a step-ca ACME certificate authority to get proxmox and other things valid internal certificates so I can manage trust using internal domain names. This shouldn't be too much of a stretch. Here's the thing, I can't upload the Root CA to proxmox to be able to register.
When I go to Machine-Name->System->Certificates and click "Upload Custom Certificate" I can browse for my certificate chain, as seen below, and everything else other than proxmox can parse it, but Proxmox says "key: invalid format - not a valid PEM-formatted string."
Edited to add the pvenode acme output
When I go to Machine-Name->System->Certificates and click "Upload Custom Certificate" I can browse for my certificate chain, as seen below, and everything else other than proxmox can parse it, but Proxmox says "key: invalid format - not a valid PEM-formatted string."
Code:
pvenode acme account register seasonal aarcane@aarcane.org --directory https://ca-vii.aarcane.info/acme/acme/directory
Attempting to fetch Terms of Service from 'https://ca-vii.aarcane.info/acme/acme/directory'..
Error: GET to https://ca-vii.aarcane.info/acme/acme/directory
Can't connect to ca-vii.aarcane.info:443 (certificate verify failed)
SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at /usr/share/perl5/LWP/Protocol/http.pm line 50.
Code:
aarcane@ca-vii:~ $ file chain.crt
chain.crt: PEM certificate
aarcane@ca-vii:~ $ cat chain.crt
-----BEGIN CERTIFICATE-----
MIIBiDCCAS+gAwIBAgIQRukFeOjNxjA504jl92cMRDAKBggqhkjOPQQDAjAjMSEw
HwYDVQQDExhTY2hsYWN0YUNlcnQtVklJIFJvb3QgQ0EwHhcNMjEwMjA5MDcyMjM2
WhcNMzEwMjA5MDcyMjM2WjAjMSEwHwYDVQQDExhTY2hsYWN0YUNlcnQtVklJIFJv
b3QgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQYXzxjK87wpXcxaYk4MBB7
6NVdQ6YQQKhMwJrax49g6N7nUsfbAc65tBjcyP1xdOuzjRVEEbw7hfLYKsQfvL4O
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUk6eHcBUZppzGcl/iURNt1Lrt06wwCgYIKoZIzj0EAwIDRw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