ECE Self-Signed Cert Error: malformed sequence in RSA private key

Hello,

This is a new ECE build that is deployed into AWS. The host is sitting behind a network load balancer listening on 12443/9243 with a *.domain.com certificate attached.

I can reach both the CloudUI and Proxy UI/Kibana with proper TLS.

I am attempting to replace the default cert that is provided during a new build with a self-signed cert generated on the same host. Every self-signed cert guide I have followed( including ECE Manage Certificates ) Ends with this error when attempting to replace the cert via CloudUI. This same error occurs when attempting to use the CLI.

I have no idea how to proceed further.

Error:
An unknown internal error occurred [malformed sequence in RSA private key]

Host Info
Operating System: Ubuntu 22.04.5 LTS
Kernel: Linux 6.8.0-1015-aws
Architecture: arm64
Hardware Vendor: Amazon EC2
Hardware Model: m6g.xlarge