ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Converting CRT and PEM files to RSA

    IT Discussion
    ssl trend micro imsva openssl rsa godaddy certs
    2
    7
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Trying to load some certs into a Trend Micro IMSVA. IMSVA requires a very specific RSA format that we do not have. Trend's documentation is kinda useless as they don't give generic information, just one very specific example that is very different.

      https://success.trendmicro.com/solution/1122406-unable-to-import-https-certificate-in-interscan-messaging-security-virtual-appliance-imsva-9-1

      We've done this before using OpenSSL to convert LetsEncrypt files to IMSVA format no problem. But that's LetsEncrypt that we know. This one is, in theory, from GoDaddy. So probably not anything weird. Just not one that I know.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        I would mention that the GoDaddy bundle includes one CRT, one PEM, one KEY, and one Intermediary P7B

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @scottalanmiller
          last edited by

          @scottalanmiller said in Converting CRT and PEM files to RSA:

          I would mention that the GoDaddy bundle includes one CRT, one PEM, one KEY, and one Intermediary P7B

          With those and openssl you can make whatever you need.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @JaredBusch
            last edited by

            @JaredBusch said in Converting CRT and PEM files to RSA:

            @scottalanmiller said in Converting CRT and PEM files to RSA:

            I would mention that the GoDaddy bundle includes one CRT, one PEM, one KEY, and one Intermediary P7B

            With those and openssl you can make whatever you need.

            I would expect so. Any good guess on the syntax for this combination?

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @scottalanmiller
              last edited by

              @scottalanmiller said in Converting CRT and PEM files to RSA:

              @JaredBusch said in Converting CRT and PEM files to RSA:

              @scottalanmiller said in Converting CRT and PEM files to RSA:

              I would mention that the GoDaddy bundle includes one CRT, one PEM, one KEY, and one Intermediary P7B

              With those and openssl you can make whatever you need.

              I would expect so. Any good guess on the syntax for this combination?

              Not anymore. I haven't done this stuff since I switch to using LE almsot everywhere. The memories are gone.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @JaredBusch
                last edited by

                @JaredBusch said in Converting CRT and PEM files to RSA:

                @scottalanmiller said in Converting CRT and PEM files to RSA:

                @JaredBusch said in Converting CRT and PEM files to RSA:

                @scottalanmiller said in Converting CRT and PEM files to RSA:

                I would mention that the GoDaddy bundle includes one CRT, one PEM, one KEY, and one Intermediary P7B

                With those and openssl you can make whatever you need.

                I would expect so. Any good guess on the syntax for this combination?

                Not anymore. I haven't done this stuff since I switch to using LE almsot everywhere. The memories are gone.

                😞 Pretty hard to find any info on it online. Probably really simple, but you have to know the syntax.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Found this which didn't help, but could be a useful reference in the future...

                  OpenSSL Convert PEM
                  Convert PEM to DER

                  openssl x509 -outform der -in certificate.pem -out certificate.der

                  Convert PEM to P7B

                  openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer

                  Convert PEM to PFX

                  openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

                  OpenSSL Convert DER
                  Convert DER to PEM

                  openssl x509 -inform der -in certificate.cer -out certificate.pem

                  OpenSSL Convert P7B
                  Convert P7B to PEM

                  openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer

                  Convert P7B to PFX

                  openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer

                  openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer

                  OpenSSL Convert PFX
                  Convert PFX to PEM

                  openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post