NS8 / Import SSL Certificate Error

NethServer Version: NS8
Module: Settings / SSL Certificate

Hi everybody,

I’m trying to import a certificate issued by LetsEncrypt and obtained thru NethSecurity : I select the KEY and CER file (checked with the same MD5) and the console shows an error with :

Uncaught Error:

onerror SettingsTlsCertificates.vue:1210

i SettingsTlsCertificates.vue:1209

i SettingsTlsCertificates.vue:1206

f runtime.js:63

x runtime.js:294

E runtime.js:119

Babel 4

uploadCustomCertificate SettingsTlsCertificates.vue:1198

submit SettingsTlsCertificates.vue:12

VueJS 4

uploadCerts UploadTlsCertificateModal.vue:186

click UploadTlsCertificateModal.vue:1

VueJS 14

SettingsTlsCertificates.vue:1210:1

Previously, I imported a certificate obtained with NS7 (CRT and KEY files) with no further issue.

Configuration :

  • Proxmox
  • 1 VM with NethSecurity (firewall between Internet and LAN)
  • 1 VM with NS8 (AD, mail and file sharing)
  • 2 VP Debian (nginx and apps)

As far as the NS8 VM cannot be reached on port 443 (NethSecurity reverse proxy to Debian VMs), I obtained the certificate with NethSecurity (including autorenewal).
Those certificates were exported to the VMs without any problem (Nginx is OK with the CER and KEY files from NethSecurity).
The issue is only with NS8 when I want to import those same files.

Any idea ?

With many thanks.

Phil

Hi Phil,

additionally to the .key and .cer files, the chain file fullchain.cer is needed.

Hi Markus,

Thanks for your answer, I’ll try this tomorrow and let you know.

Best regards :slight_smile:

Phil

1 Like