Skip to content

Activando HTTPS (SSL)

Follow the steps below in order to enable HTTPS (SSL) for the ServerGenius administration website and agents endpoint. As a result, administrators and machine agents will be able to access ServerGenius using the configured HTTPS port.

Please note that enabling SSL support for ServerGenius does not prevent administrators and machine agents from accessing ServerGenius using the current HTTP port configured (default is 7777 for administration website). Therefore, no hay necesidad de reconfigurar las máquinas ya monitoreadas por ServerGenius!


Résumé


Requisitos

  • Please make sure you have administrator privileges on the server where ServerGenius is installed.

  • Enabling SSL support for ServerGenius requires a valid certificate, with the following details:

    • El certificado Emitido a ou Nombre alternativo del sujeto should specify the ServerGenius website’s domain name (i.e. servergenius.mycompany.com) or the server name (i.e. COMP-SRVR01)
    • El propósito del certificado debe ser Authentification du serveur
    • El certificado debe contener el clave privada
  • If the certificate is not validated by a trusted certificate authority (CA) already installed in ServerGenius server, then the CA certificate is also required. Usually, the CA certificate is required when the certificate is a self generated certificate.

  • The password for the private key of the certificate and the CA certificate, if applicable, are required for the following steps.


Open Certificate Manager

Enable SSL Screenshot 1

Log in as a local administrator on the server where ServerGenius is installed. Then, from the Windows task bar, click on Start Alors, cliquez sur Run… .

Enable SSL Screenshot 2

A window opens and prompts for a program executable name. Type mmc.exe y haga clic OK .

Enable SSL Screenshot 3

La Consola de Administración de Microsoft (MMC) se abre. Haga clic en Datei y luego haga clic en Agregar/Eliminar complemento choisir la fonctionnalité à gérer.

Enable SSL Screenshot 4

In der Liste der Snap-Ins wählen Sie aus Certificados y luego haga clic en Ajouter El complemento se agrega al Selected snaps-ins columna. Luego, haga clic OK .

Enable SSL Screenshot 5

Dans la boîte de dialogue qui apparaît, sélectionnez Computer-Konto , luego haga clic Suivant .

Enable SSL Screenshot 6

Elija Computer local y click Finish .

Enable SSL Screenshot 7

Clic OK to proceed with importing the certificates.


Importar certificados

Enable SSL Screenshot 8

In the MMC window opened in the previous section, drill down to Certificates (Local Computer) y Personal .

Enable SSL Screenshot 9

Desde el Acción menú en la barra de comandos, seleccione Todas las tareas y luego haga clic en Import… .

Enable SSL Screenshot 10

El asistente de importación de certificados se abre. Haga clic Suivant pour continuer.

Enable SSL Screenshot 11

In this step, Click on Parcourir to find the certificate. Then, click Suivant to continue and import the selected certificate. On the next screen, enter the password you chose for the certificate.

Enable SSL Screenshot 12

Clic Suivant pour continuer.

Enable SSL Screenshot 13

Elija Place all certificates in the following store Vérifiez que le magasin de certificats sélectionné est Personal , luego haga clic Suivant .

Enable SSL Screenshot 14

Clic Terminar to import the certificate.

Enable SSL Screenshot 15

Nota:
If you need to import a CA authority certificate, repeat the import procedure above for the CA certificate.

Find the certificate thumbprint

Enable SSL Screenshot 16

From MMC, right-click on the certificate and click Ouvrir .

Enable SSL Screenshot 17

Die Einzelheiten des Zertifikats werden angezeigt. Klicken Sie auf Détails tab para mostrar las propiedades del certificado.

Enable SSL Screenshot 18

Copy the value of the Empreinte digitale property for the next steps.


Register SSL certificate for ServerGenius

From the administrative command line, type the following to set up the SSL binding to ServerGenius, and specify the appropriate port:

netsh http add sslcert ipport=0.0.0.0:7778 certhash=‎‎11d66d6b314a3b041ffcf8c0ad72758704d5d18b appid={35c57165-b326-49b5-9346-f4e2cf7f2353}

Enable SSL Screenshot 19

El comando anterior toma los siguientes parámetros:

  • ipport definiera IP-adressen och porten som bör konfigureras för ServerGenius. Som standard föreslår vi att använda port 7778.

  • certhash identifica el certificado por su huella digital, que se encuentra en la sección anterior.

  • appid specifies the application ID. ServerGenius application ID is 35c57165-b326-49b5-9346-f4e2cf7f2353.

Pour Windows XP et versions antérieures :

If your ServerGenius server is running under Windows XP or an earlier Windows release, the command netsh no estará disponible. use el httpcfg command instead as below:

httpcfg set ssl /i 0.0.0.0:7778 /h 11d66d6b314a3b041ffcf8c0ad72758704d5d18b /g "{35c57165-b326-49b5-9346-f4e2cf7f2353}"

Configure ServerGenius SSL port

Enable SSL Screenshot 20

Open Windows Explorador de archivos and navigate to the ServerGenius setup directory. By default, the ServerGenius setup path is the following:

C:\Program Files (x86)\RDS-Tools\ServerGenius

Then, open the file config.json und geben Sie den SSL-Port (z. B. 7778) als Wert des SslPort propriété.

Enable SSL Screenshot 21

Nota: in order to disable SSL for ServerGenius, rollback the changes by setting the SslPort valor de la propiedad a 0 and then restart ServerGenius.


Reiniciar ServerGenius

From the administrative command line, type the following to restart ServerGenius service:

net stop ServerGenius && net start ServerGenius

ServerGenius est maintenant configuré pour utiliser SSL (HTTPS).