where are the *.pem files on debian

Discussion in 'Installation/Configuration' started by jjsjjs, Nov 20, 2021.

  1. jjsjjs

    jjsjjs Member

    Hi,
    in this tutorial for debian acme.sh is used for generating the ssl certificates.

    Where are the cert.pem and the key.pem files(or fullchain.pem & privkey.pem)?
    Because I need to create a keystore file like this:
    Code:
    openssl pkcs12 -export -out keystore.pkcs12 -in fullchain.pem -inkey privkey.pem
    keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks
    
    in etc/ssl/private I only see pure-ftpd.pem and pure-ftpd-dhparams. and in etc/ssl/certs a bunch of symlinks
    So probably I think pure-ftpd.pem is the fullcahin? if so where is the other one, as I need both.
    With these 2 file it is refusing to create the keystore (the keystore is used for a small fast java server)
    (this worked ok on my Raspberry when I used Ubuntu and certbot)
    What can I do best.
    Can I install certbot, will it not interfere with the setup?
    Or can I find the 2 needed pem files elsewhere?

    Thanks a lot for any help.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You can not have both acme.sh and certbot on the same system.

    The files can be found in /root/.acme.sh/example.com/
     
  3. jjsjjs

    jjsjjs Member

    Great! I could not find them.
    Thanks a lot!
     

Share This Page