SSL iDempiere and FitNesse

49 views
Skip to first unread message

Andrea Checchia

unread,
Jul 9, 2024, 11:15:07 AMJul 9
to iDempiere
Good morning everyone,
I wanted help with "FitNesse" management.
I followed everything on the wiki here: [https://wiki.idempiere.org/en/Installing_Fitnesse.HowTo;](https://wiki.idempiere.org/en/Installing_Fitnesse.HowTo) I also set Allow SSL-Connection for self signed certificates
The problem appears when I do the "Garden Admin Login Test"; gives me the following error:

`Exception in thread "main" javax.net.ssl.SSLHandshakeException: No name matching acHP-idempiere-PC.station found
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:360)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:303)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:298)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:183)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1511)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:456)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:427)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:201)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168)
at fitnesse.client.ServletInvoker.postUrlRequest(ServletInvoker.java:37)
at fitnesse.client.ServletInvoker.run(ServletInvoker.java:23)
at fitnesse.client.FitServerServletInvoker.main(FitServerServletInvoker.java:13)
Caused by: java.security.cert.CertificateException: No name matching acHP-idempiere-PC.station found
at java.base/sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:234)
at java.base/sun.security.util.HostnameChecker.match(HostnameChecker.java:103)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:461)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:421)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341)
... 17 more`


Can you please tell me what I'm doing wrong?
Thanks in advance.

Hiep Lq

unread,
Jul 9, 2024, 9:44:46 PMJul 9
to idem...@googlegroups.com

keytool -import -alias localhostnew -file key.pem -keystore cacerts

The command might need to be updated to use "acHP-idempiere-PC.station" instead of "localhostnew"

Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam


--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/d1e1ba84-79ed-4e7a-a187-9af422e8faa0n%40googlegroups.com.

This signature auto append

hoang dung Nguyen

unread,
Jul 9, 2024, 9:49:40 PMJul 9
to idem...@googlegroups.com
bạn là người Việt Nam phải không? b có thể giúp đỡ mình cài đặt phần mềm không?

Vào Th 4, 10 thg 7, 2024 vào lúc 08:44 Hiep Lq <hie...@hasuvimex.vn> đã viết:


--
Nguyễn Hoàng Dung. Phone: 0964937977

Andrea Checchia

unread,
Jul 10, 2024, 4:10:47 AMJul 10
to iDempiere
Thanks Hiệp for your reply, I'll try to set up the certificate correctly.
Reply all
Reply to author
Forward
0 new messages