Anmeldung an MantisBT mit SSL schlägt fehl

Matthias Grimm, modified 13 Years ago.

Anmeldung an MantisBT mit SSL schlägt fehl

Youngling Post: 1 Join Date: 2/7/11 Recent Posts
English translation added:

Hi,

for testing purposes I installed 3.2.3 on a VMware Klaros Workstätion with Windows XP.
Since I use a Mantis 1.2.4 with SSL I have tried to set up Mantis for issue management.

Unfortunately, without success: I always get the following error message:
The server at the URL https: / / ftp.sofha.de / mantisbt / was not achieved: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I have read that it is probably the certificate and therefore have the valid certificate secured with Firefox and with:
C: \ Program Files \ Java \ jdk1.6.0_23 \ bin> keytool-importcert-file c: \ \ Zertifikat_MantisBT.crt

imported via console, to control I tried again and I get:
Certificate in keystore under alias already exists <mgrimm>
If you add it anyway? [No]:

So I'm assuming it was imported correctly

The first trial I had are still 3.1 I got at least a login prompt, but each time was aborted with errors.

Have I missed something?
It is very important for further use does the Mantis with SSL.

Thank you for your support.

M. Grimm

Original message was:

Hallo,

zu Testzwecken habe ich Klaros 3.2.3 auf einem VmWare Workstätion mit Windows XP installiert.
Da ich ein MantisBT 1.2.4 mit SSL benutze habe ich versucht Mantis bei Issue Management einzurichten.

Leider ohne Erfolg: Ich bekomme immer folgende Fehlermeldung:
Der Server unter der URL https://ftp.sofha.de/mantisbt/ konnte nicht erreicht werden: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Ich habe gelesen das es wohl am Zertifikat liegt und habe deshalb das gültige Zertifikat mit Firefox gesichert und mit:
C:\Programme\Java\jdk1.6.0_23\bin>keytool -importcert -file c:\\Zertifikat_MantisBT.crt

per Konsole importiert, zur Kontrolle habe ich es noch einmal versucht und werde darauf hingewiesen:
Zertifikat in Keystore bereits unter Alias <mgrimm> vorhanden
Möchten Sie es trotzdem hinzufügen? [Nein]:

Damit gehe ich davon aus das es korrekt importiert wurde

Mit der ersten Testversion die ich noch liegen hatte 3.1 bekam ich wenigstens eine Login Aufforderung, die aber jedes mal mit Fehler abgebrochen wurde.

Habe ich etwas übersehen.
Es ist zur weiteren Verwendung sehr wichtig das Mantis mit SSL funktioniert.

Vielen Dank für Ihre Unterstützung.

M. Grimm
thumbnail
Torsten Stolpmann, modified 13 Years ago.

RE: Anmeldung an MantisBT mit SSL schlägt fehl

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hello,

can you please send the console output (if any), todays log files (from installation logs dir) and if possible a valid login/password combination so we may have a look from here (support@verit.de)?

Regards,

Torsten

P.S.: If possible please use English language in your forum posts, this helps our international guests. I will translate your post later.
thumbnail
Torsten Stolpmann, modified 13 Years ago.

RE: Anmeldung an MantisBT mit SSL schlägt fehl (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
My guess is that using keytool -importcert -file is not enough to add the certificate (This will only write the .keystore file in your user home but not influence your cacerts file).

Have you tried the solution in the FAQ?

Hope this helps,

Torsten