Hallo Forum,
gegen den Grundsatz never Change a running System musste ich leider verstoßen und habe eine Virtuelle Debian-Maschine auf Wheezy 7.9 geupdatet. Von dieser Maschine aus greife ich via RPC::XML auf den Hibiscus-Server (2.7.0-nightly [Build: 911]) zu, der auf Debian Wheezy 7.9 läuft.
Dieses Verwaltungs-Script läuft von einem Debian Lenny 5.0 wunderbar, produziert jedoch von Wheezy 7.9 aus den Fehler.
Der Port 8080 ist nach Telnet-Socket-Test erreichbar.
Via https://192.168.10.161:8080/hibiscus/ erhalte ich im Systemlog folgende Info,. die mir leider keienn Anhaltspunkt zur Problemlösung bietet.
Das Perl-Script lautet im Wesentlcihen
use RPC::XML;
use RPC::XML::Client;
$cli = RPC::XML::Client->new('https://192.168.10.161:8080/xmlrpc/' );
$cli->credentials("XML-RPC","admin","geheim");
$resp = $cli->send_request('hibiscus.xmlrpc.konto.list');
Kann wer helfen?
Gruß
Heiko Ambos
gegen den Grundsatz never Change a running System musste ich leider verstoßen und habe eine Virtuelle Debian-Maschine auf Wheezy 7.9 geupdatet. Von dieser Maschine aus greife ich via RPC::XML auf den Hibiscus-Server (2.7.0-nightly [Build: 911]) zu, der auf Debian Wheezy 7.9 läuft.
Dieses Verwaltungs-Script läuft von einem Debian Lenny 5.0 wunderbar, produziert jedoch von Wheezy 7.9 aus den Fehler.
Code
Error: RPC::XML::Client::send_request: HTTP server error: Can't connect to 192.168.10.161:8080
Der Port 8080 ist nach Telnet-Socket-Test erreichbar.
Via https://192.168.10.161:8080/hibiscus/ erhalte ich im Systemlog folgende Info,. die mir leider keienn Anhaltspunkt zur Problemlösung bietet.
Code
EXCEPTION
javax.net.ssl.SSLException: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1844)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1827)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1346)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:630)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323)
at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:687)
at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:63)
at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1208)
at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1062)
at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:889)
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:622)
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:167)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
... 3 more
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:314)
... 15 more
javax.net.ssl.SSLException: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1844)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1827)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1346)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:630)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323)
at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:687)
at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:63)
at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:1208)
at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1062)
at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:889)
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:622)
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:167)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
... 3 more
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:314)
... 15 more
Das Perl-Script lautet im Wesentlcihen
Code
use RPC::XML;
use RPC::XML::Client;
$cli = RPC::XML::Client->new('https://192.168.10.161:8080/xmlrpc/' );
$cli->credentials("XML-RPC","admin","geheim");
$resp = $cli->send_request('hibiscus.xmlrpc.konto.list');
Kann wer helfen?
Gruß
Heiko Ambos