SSL Zertifikat installieren

Diese Webseite finanziert sich ausschließlich durch freiwillige Spenden. Dank der Unterstützung unserer Nutzer können wir die Inhalte werbefrei und unabhängig anbieten. Jetzt Unterstützen
  • Hallo,

    ich würde gerne ein schon erstelltes Zertifikat einfügen, dass die Fehlermeldung beim Aufrufer des Controllers verschwindet. Leider habe ich nur Anleitungen für die UDM gefunden, aber nichts was mir bei nem Controller auf einer Debian Maschine weiter hilft. Vielleicht habt ihr ja einen Tipp.

    Gruß

    Flo

  • Ich habe in meinen Aufzeichnungen folgendes gefunden, ist aber schon ein paar Jahre alt, aber als Anhaltspunkt:

    • Downloaded "Keystore Explorer 4.1.1" on a windows.
    • Created a new keystore file (JKS type)
    • Tools > Import Key Pair
    • Select the key type PKCS8 und das full chain Zertifikat auswählen + private key
    • Choose the key file from your previous server you performed your CSR on.
    • Select the concatenated certificate file
    • Enter "unifi" for the alias
    • Use "aircontrolenterprise" for the key pair password when requested.
    • Choose File, Save As
    • Set the keystore password to "aircontrolenterprise"
    • Save file as "keystore"
    • Upload to /var/lib/unifi/ and replace the existing "keystore" file.
    • Restart ace.jar

    Und das ganze sollte mittlerweile aber einfacher gehen (das folgende ist von einem Debian Server):

    Code
    systemctl stop unifi
    
    echo UNIFI_SSL_KEYSTORE=/etc/ssl/private/wildcard.company.work.pfx > /etc/default/unifi
    chmod 640 /etc/ssl/private/wildcard.company.work.pfx
    chgrp unifi /etc/ssl/private/wildcard.company.work.pfx
    usermod -G ssl-cert unifi
    
    systemctl start unifi

    Das PFX Passwort sollte "aircontrolenterprise" sein, dann muss man das nicht overriden.

  • Mein Netzwerk

    Internet:

    Glasfaser TNG 1 Gigabit Synchron

    Speedtest

    Unifi Komponenten:

    UCG Fiber

    USW-Lite-8-PoE

    3x USW-Flex-Mini

    UAP-AC-Lite

    2x U6-Lite

    UVC-G3-FLEX

    2x UVC-G3-Instant

    1x UVC-G4-Instant

    UVC-G5-Bullet

    Sonstige Hardware:

    QNAP TS-453a als Backup

    Thinkstation mit Unraid, VM 3CX, Pihole + Unbound, Home Assistant usw.

    PC mit Ryzen 3700x, 16GB 3200 Ram, Ati Radeon 5700X, 2x M.2 SSD und 1x SATA SSD

  • KRASS! Schade, dass die Daten weder in GitLab noch in GitHub liegen sondern auf seiner Web-Seite.

    Das ist dafür eher unüblich. :(

  • KRASS! Schade, dass die Daten weder in GitLab noch in GitHub liegen sondern auf seiner Web-Seite.

    Das ist dafür eher unüblich. :(

    Ist in dem Fall aber vertrauenswürdig. Schau dir mal an wie lange der das schon macht. Funktionieren übrigens alle hervorragend die Scripte.

    Mein Netzwerk

    Internet:

    Glasfaser TNG 1 Gigabit Synchron

    Speedtest

    Unifi Komponenten:

    UCG Fiber

    USW-Lite-8-PoE

    3x USW-Flex-Mini

    UAP-AC-Lite

    2x U6-Lite

    UVC-G3-FLEX

    2x UVC-G3-Instant

    1x UVC-G4-Instant

    UVC-G5-Bullet

    Sonstige Hardware:

    QNAP TS-453a als Backup

    Thinkstation mit Unraid, VM 3CX, Pihole + Unbound, Home Assistant usw.

    PC mit Ryzen 3700x, 16GB 3200 Ram, Ati Radeon 5700X, 2x M.2 SSD und 1x SATA SSD

  • Ist in dem Fall aber vertrauenswürdig. Schau dir mal an wie lange der das schon macht. Funktionieren übrigens alle hervorragend die Scripte.

    Das Vertrauen und auch die Funktion habe ich mit meinem Post eher nicht gemeint, sondern viel mehr, dass eine solche Entwicklung (ultralanges Shell-Script und auch noch andere Scripte) aus meiner Sicht in ein geeignetes Repository abzulegen ist.

  • Das Vertrauen und auch die Funktion habe ich mit meinem Post eher nicht gemeint, sondern viel mehr, dass eine solche Entwicklung (ultralanges Shell-Script und auch noch andere Scripte) aus meiner Sicht in ein geeignetes Repository abzulegen ist.

    Ok, verstehe. Er wird wohl seine Gründe haben das nicht so zu machen...

    Mein Netzwerk

    Internet:

    Glasfaser TNG 1 Gigabit Synchron

    Speedtest

    Unifi Komponenten:

    UCG Fiber

    USW-Lite-8-PoE

    3x USW-Flex-Mini

    UAP-AC-Lite

    2x U6-Lite

    UVC-G3-FLEX

    2x UVC-G3-Instant

    1x UVC-G4-Instant

    UVC-G5-Bullet

    Sonstige Hardware:

    QNAP TS-453a als Backup

    Thinkstation mit Unraid, VM 3CX, Pihole + Unbound, Home Assistant usw.

    PC mit Ryzen 3700x, 16GB 3200 Ram, Ati Radeon 5700X, 2x M.2 SSD und 1x SATA SSD

  • für mich unwissenden, brauchen die scripts eigentlich eine öffentliche IP ?

    das für das Zertifikat natürlich.

    Mein Netzwerk

    Internet:

    Glasfaser TNG 1 Gigabit Synchron

    Speedtest

    Unifi Komponenten:

    UCG Fiber

    USW-Lite-8-PoE

    3x USW-Flex-Mini

    UAP-AC-Lite

    2x U6-Lite

    UVC-G3-FLEX

    2x UVC-G3-Instant

    1x UVC-G4-Instant

    UVC-G5-Bullet

    Sonstige Hardware:

    QNAP TS-453a als Backup

    Thinkstation mit Unraid, VM 3CX, Pihole + Unbound, Home Assistant usw.

    PC mit Ryzen 3700x, 16GB 3200 Ram, Ati Radeon 5700X, 2x M.2 SSD und 1x SATA SSD

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!