How to add Comodo Bundle SSL Certs.

kallados

New Member
Jun 20, 2015
3
1
1
Germany
Hi Friends,

i have spend many Times with SSL. Via SSL Checkers and OPENSSL CLI Check everything fine, but VNC Console show every time error (error 500, Input to long etc. etc.).

This is my finaly Solutions and i hope- for every Users with Comodo Certs is helpful. Now everything run and also in Safari.

I have used manual from symmcom (thank you Guy)- only added exactly files names and reboot.

1. Backup:
Code:
[COLOR=#333333]cp /etc/pve/local/pve-ssl.pem /etc/pve/local/pve-ssl.pem.orig
[/COLOR]​[COLOR=#333333]cp /etc/pve/local/pve-ssl.key /etc/pve/local/pve-ssl.key.orig
[/COLOR][COLOR=#333333]cp /etc/pve/pve-root-ca.pem /etc/pve/pve-root-ca.pem.orig[/COLOR]

2. Download Cert´s from Provider

3. Create pve-ssl.pem
Remove old
Code:
 rm [COLOR=#333333]/etc/pve/local/pve-ssl.pem[/COLOR]
Create new (in this case with vim- but you can naturally use also nano or something what you want :)
Code:
vim /etc/pve/local/pve-ssl.pem
Paste your certs in this order exactly (only text :)
Code:
-----BEGIN CERTIFICATE-----
MyDomain.crt
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
COMODORSADomainValidationSecureServerCA.crt
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
COMODORSAAddTrustCA.crt
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
AddTrustExternalCARoot.crt
-----END CERTIFICATE-----

4. Create pve-root-ca.pem
Remove old
Code:
 rm [COLOR=#333333]/etc/pve/pve-root-ca.pem[/COLOR]
Create new (in this case with vim- but you can naturally use also nano or something what you want :)
Code:
vim /etc/pve/local/pve-ssl.pem
Paste your certs in this order exactly (only text :)
Code:
-----BEGIN CERTIFICATE-----
COMODORSADomainValidationSecureServerCA.crt
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
COMODORSAAddTrustCA.crt
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
AddTrustExternalCARoot.crt
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MyDomain.crt
-----END CERTIFICATE-----

5. Create pve-ssl.key
Remove old
Code:
 rm [COLOR=#333333]/etc/pve/local/pve-ssl.key[/COLOR]
Create new (in this case with vim- but you can naturally use also nano or something what you want :)
Code:
vim /etc/pve/local/pve-ssl.key
Code:
-----BEGIN PRIVATE KEY-----
Paste your Key
-----END PRIVATE KEY-----

Almost Finish :)

I recommend here also hard reboot
Code:
[COLOR=#333333]service pveproxy restart
[/COLOR][COLOR=#333333]service pvedaemon restart
[/COLOR][COLOR=#333333]reboot
[/COLOR]

You can use naturally CAT ( cat source-file1 source.file2 > output.file)for copy, but i have this making more times with cat and nothing. Just copy&paste one time and everything was fine. I dont know. Have a great Day!

ps: sorry for bad english i speak czech and germany
 
  • Like
Reactions: whattheserver
Worked great for me, remove the
[/COLOR] tags and in #4 change
vim /etc/pve/local/pve-ssl.pem to
vim /etc/pve/pve-root-ca.pem
 

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!