You are on page 1of 8

Connexion en https dans

Syracuse
Customer Services

12/01/2015
2 Connexion en https dans Syracuse

Depuis la liste de patch P7 de Syracuse nous pouvons nous connecter en HTTPS dans
Syracuse
Par contre il faut créer de nouveau les certificats car depuis la liste de patch P7 une
nouvelle gestion de certificats a été mise en place.

1- Supprimer tous les certificats mis en place dans


D:\Sage\SafeX3\Syracuse\syracuse\certs\xxxxxxxxx
D:\Sage\SAGEX3V7\XXXXX\runtime\keys

2- Création du certificat
Ouvrir une fenêtre MS-DOS (CMD)
Se positionner dans le répertoire « certs_tools » (..\Syracuse\syracuse\certs_tools)
Exécuter « certgen.bat »

Country :
State :
City :
Organization :
Organizational unit :
Name :
Days of validity :
Please enter passphrase for new private key of CA certificate :
Confirm passphrase of CA private key:

Page 2 sur 8
Customer Services
3 Connexion en https dans Syracuse

Choisir 1 pour créer un certificat et la clé privée.


Name of server :
Server name for TCP connections [nom du serveur] :
Enter days of validity (when input is empty, validity will be until ……. :
Enter passphrase for new private key :
Confirm passphrase of private key:
Port of Syracuse server if data should be transferred (no transfer for value 0) [0]:

Choisir « 10 » pour terminer

Page 3 sur 8
Customer Services
4 Connexion en https dans Syracuse

Il faut copier les certificats qui se trouvent dans

…\Syracuse\syracuse\certs_tools\output
dans
….\SafeX3\Syracuse\syracuse\certs\ser-rboxi01

Il faut aussi copier le certificat XXXXX.pem dans …/runtime/keys

3- Redémarrer le(s) service(s)


V7 Agent Sage Syracuse – NODE0
(Celui-ci redémarre automatiquement le service Sage Syracuse – NODE0)
Si le service Sage Syracuse – NODE0 ne démarre pas, il a surement eu un problème
lors de la génération du certificat. Recommencer la manipulation depuis le début.

4- Se connecter à Syracuse http://ServeurSyracuse:8124

5- Passer au point 6- si vous n’avez pas ces messages d’erreurs.

a. Si à la connexion il y a le message d’erreur

Il faut aller dans Administration -> Administration -> Certificats


Editer le certificat existant
Il faut saisir dans Phrase secrète votre « Passphrase » puis faire « enregistrer ».

b. Si vous avez ce message d’erreur vous n’avez pas copié le certificat dans le
répertoire « Runtime »

Copier le fichier « XXXX.pem » qui se trouve sous


« Syracuse\syracuse\certs\xxxxxxxx » dans « …\runtime\keys »

6- Activation de la connexion en https dans Syracuse


Administration -> Administration -> Serveurs Syracuse
Editer les informations de votre serveur Syracuse

Vous pouvez avoir plusieurs ports pour vous connecter au serveur Syracuse par
exemple en http ou https.

Par conséquent, il faut cliquer sur « ajouter » pour rajouter le port https

Page 4 sur 8
Customer Services
5 Connexion en https dans Syracuse

Pour que le nouveau port soit pris en compte il faut redémarrer le service « Agent
Sage Syracuse – NODE0 ».

Saisir maintenant l’URL


https://nomserveur:443

Page 5 sur 8
Customer Services
6 Connexion en https dans Syracuse

Since the patch Syracuse P7 we can connect to HTTPS in Syracuse


By cons must create new certificates because since the patch P7 a new certificate
management was put in place.

1- Delete all certificates in place in


D:\Sage\SafeX3\Syracuse\syracuse\certs\xxxxxxxxx
D:\Sage\SAGEX3V7\XXXXX\runtime\keys

2- Create certificate
Open a DOS window (CMD)
Position in the "certs_tools" directory (.. \ Syracuse \ syracuse \ certs_tools)
Run "certgen.bat"

Country :
State :
City :
Organization :
Organizational unit :
Name :
Days of validity :
Please enter passphrase for new private key of CA certificate :
Confirm passphrase of CA private key:

Page 6 sur 8
Customer Services
7 Connexion en https dans Syracuse

Select 1 to create a new certificate and private key.

Name of server :
Server name for TCP connections [nom du serveur] :
Enter days of validity (when input is empty, validity will be until ……. :
Enter passphrase for new private key :
Confirm passphrase of private key:
Port of Syracuse server if data should be transferred (no transfer for value 0) [0]:

Choose '10' to finish

You must copy the certificates that are in

…\Syracuse\syracuse\certs_tools\output
dans
….\SafeX3\Syracuse\syracuse\certs\ser-rboxi01

It must also copy the certificate XXXXX.pem dans …/runtime/keys

3- Restart the service


V7 Agent Sage Syracuse - Node0
(This automatically restarts the Sage Service Syracuse - Node0)
If the Sage Syracuse Service - Node0 does not start, it probably was a problem
generating the certificate. Restart the process from the beginning

4- Log in Syracuse http://ServeurSyracuse:8124

Page 7 sur 8
Customer Services
8 Connexion en https dans Syracuse

5- Go to step 6 if you do not have these error messages.

a. Passphrase error :

Go to Administration -> Administration -> CertificatesEditer le certificat existant


You must enter in your passphrase and make save.

b. X3 engine error : you have not copied the certificate in the directory
« Runtime »

Copy the file « XXXX.pem » which is under « Syracuse\syracuse\certs\xxxxxxxx » in


« …\runtime\keys »

6- Enabling https connection in Syracuse


Administration -> Administration -> Servers Syracuse
Edit the information in your server Syracuse

You can have multiple ports to connect to the server Syracuse eg http or https.

Therefore, you must click on "Add" to add the port https

For the new port to be taken into account must restart the service "Agent Sage
Syracuse - Node0".

Now enter the URL


https://servername:443

Page 8 sur 8
Customer Services

You might also like