So the way to handle this is you need to pass in the file contents and you need to escape new lines so the command ends up looking something like: Catalog.SSL.Certificates.importCertificate ["Example Certificate"] [ { private_key: "-----BEGIN RSA PRIVATE KEY-----\nkey\ncontents\nhere\n-----END RSA PRIVATE KEY-----", public_cert: "-----BEGIN CERTIFICATE-----\ncertificate\ncontents\here\n-----END CERTIFICATE-----" } ] Would be nice if this were changed so we could just reference the files.
... View more