[SOLVED] Installation von SSl Zertifikat

Marco PRE

Member
Feb 21, 2020
20
3
8
62
Mit der Installation gemäss Handbuch Seite 96 vom Release 6.1 komme ich nicht weiter.
Da steht: After you finished this certificate request you have to send the file xxx to...
Wie bringe ich das File aus der Proxmox raus, bzw. wie kann ich es ansehen.
In einem Forum habe ich gesehen, - mit dem comand ls , das zeigt mit aber nur der Name des Zertifikates an.
Danke im Voraus für einen Tipp
 
da steht ein paar zeilen drunter:
To transfer files from and to your Proxmox, you can use secure copy: If you desktop is Linux, you can use the scp command line tool. If your desktop PC is windows, please use a scp client like WinSCP (see http://winscp.net/).

Ich hoffe das hilft!
 
Hallo Stoiko
Habe das Zertifikat aktiviert mit den Befehlen:

cat cert.pem cert.pem >/etc/pmg/pmg-api.pem
systemctl restart pmgproxy

Und nun komme ich nicht mehr auf die Proxmox. Die Mails jedoch gehen noch durch.
Warum ist das ganze so kompliziert?
Ich habe ein Zertifikat gelöst bei Comodo für "andere" da es sich ja nicht um Microsoft ISS xy handelt.
 
Ich vermute, dass ich das Zertifikat mit dem Namen cert.pem am flaschen Ort gespeichert habe.
Wo genau muss das hin? Ich habe Version 6.1
Wenn ich die Datei pmg-api.pem bearbeite, dann ist das neue Zertifiakt 2x aufgelistet.
 
Leider finde ich keinen "key.pem" auf dem Proxmox Mailgateway.
kann ich das erworbene Zertifikat.cert einfach auf cert.pem umbenennen, oder muss man das umwandeln?
 
wenn die Anleitung befolgt wurde, wurde mit dem befehl:
Code:
openssl req -newkey rsa:2048 -nodes -keyout key.pem -out req.pem
in dem Ordner, in dem auch der Certificate Request (req.pem) erstellt wurde auch ein key.pem erstellt (der private Key für das Zertifikat) - dieses File muss mit dem Zertifikat im PEM format (erkennt mensch daran, dass der inhalt mit -----BEGIN CERTIFICATE----- beginnt) zusammengehängt werden .
 
Herrlich! Nun habe ich für 2 Jahre Ruhe.
Das erworbene Zertifikat umbenennen auf cert.pem reicht.
Anstelle key.pem hatte ich "proxmox.domainname.key" eingegeben. Daher fand ich kein key.pem
Somit ergab sich der Befehl auf "cat proxmox.domainname.key cert.pem >/etc/pmg/pmg-api.pem"
Hilfreich war auch, dass beim öffnen der Zertifikate "Begin Certificate" oder "Begin Private Key" stand.
Vielen Dank für deine Hilfe Stoiko :):):):)
 
  • Like
Reactions: Stoiko Ivanov
Schön, dass das geklappt hat :)

bitte den thread als 'SOLVED' markieren - hilft anderen mit ähnlichen Fragen.

Danke!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!