How can I export the certificate to pem

I’m so happy yet.
I have found the solution.

  1. Export the Server-Certificate over the Internet-Browser

  2. Copy the certificates to a share of your NethServer (\myNethServer\share) for example

  3. Open a ssh to your server (Putty or something like that)

  4. Enter the following command at the ssh: find / -name “*.der”

  5. The result should look like this /var/lib/nethserver/ibay/share/Zertifikat/NethServer.der or something like that

  6. Change to the directory: cd /var/lib/nethserver/ibay/share/Zertifikat/

  7. Check whether the certificates are present, with: ls

  8. You should find for example:NethServer.crt NethServer.der NethServer.p7c

  9. Now must be converted into a PEM certificat with follow:
    openssl x509 -in NethServer.der -inform DER -out NethServer.pem -outform PEM

  10. Check it with: ls
    The result should look like this: NethServer.crt NethServer.der NethServer.p7c NethServer.pem

Done! :v: :relaxed:

1 Like