[Building Sakai] profile2 twitter on Sakai 2.9.3

Sanghyun Jeon euksa99 at gmail.com
Mon Feb 17 10:07:58 PST 2014


Hello

I've never successfully integrated with profile2 and twitter on Sakai 2.8.x
and hope it works for sakai 2.9.3.
However, after i followed PRFL-603 as well as PRFL-729 instruction, I tried
to verify trusted keystore and I got the below error instead of "No errors,
certificate is already trusted"

[root at sakaitest-tc1 security]# java -cp . InstallCert twitter.com:443
Loading KeyStore jssecacerts...
Opening connection to twitter.com:443...
Starting SSL handshake...

javax.net.ssl.SSLException: java.lang.UnsupportedOperationException
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1842)
        at
sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1825)
        at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1346)
        at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
        at InstallCert.main(InstallCert.java:87)
Caused by: java.lang.UnsupportedOperationException
        at
InstallCert$SavingTrustManager.getAcceptedIssuers(InstallCert.java:171)
        at
sun.security.ssl.AbstractTrustManagerWrapper.checkAlgorithmConstraints(SSLContextImpl.java:926)
        at
sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(SSLContextImpl.java:872)
        at
sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:814)
        at
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
        at
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
        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)
        ... 2 more


When I checked the cert, it has twitter.com-1
Please advise.

S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140217/993d7cfe/attachment.html 


More information about the sakai-dev mailing list