ColdFusion MX: Resolving the “Input not an X.509 certificate” error

(TechNote) The Java keytool may throw a “java.lang.Exception: Input not an X.509 certificate” error when trying to import a certificate into cacerts.