How do I generate a CSR key?

  • Hi there, I'm still kind of a huge noob to this. I bought TrustSafePro SSL and it is requesting that I enter a CSR key. How do I go about generating one so I can incorporate a different SSL certificate?


    Thanks in advance!


    My vserver debian with froxlor


    Thanks

  • You should try to use LetsEncrypt. It is for free and does all the magic stuff for your. Froxlor has also a very good integration of LetsEncrypt built in.

    Matthias Lohr Project Blog: https://mlohr.com/

    PGP: 0x8FC3060F80C31A0A

  • Install OpenSSL, generate a key


    Code
    openssl genrsa -out rsakey 4096

    then generate the csr

    Code
    openssl req -new -out csr -key rsakey

    the file csr is your ... csr. :)

    Thanks i did it but there is no csr key :( also checked my email. Where is the csr key stored on vserver?

    /etc/ssl/certs/ not include my csr key for my domain

  • Hay,


    openssl req -new -out csr -key rsakey


    the file is called "csr" and nothing else :) that maybe confuses you.


    openssl req -new -out /home/myuser/keyfile.csr -key rsakey


    would generate a file keyfile.csr in the /home/myuser/ directory.


    If not: there was an error message for sure... please post.


    CU, Peter

    Peter Kleemann // https://www.pkleemann.de // +49 621 1806222-0 // Kann Programme, Internet, Netzwerke und Telefon.

  • Thanks alot! I got my CSR key but my SSL panel says that "CSR key not same with your domain, please check".

    My domain is denizcisorucevap.com