Netty error with ssl certificate on android

I have problems with netty on android (everything works on a PC). I use the securechat example link in this line too:

SelfSignedCertificate ssl = new SelfSignedCertificate(); 

I get this error

  07-31 13:01:39.861: W/System.err(8693): java.security.cert.CertificateException: No provider succeeded to generate a self-signed certificate. See debug log for the root cause. 07-31 13:01:39.861: W/System.err(8693): at io.netty.handler.ssl.util.SelfSignedCertificate.<init>(SelfSignedCertificate.java:115) 07-31 13:01:39.861: W/System.err(8693): at io.netty.handler.ssl.util.SelfSignedCertificate.<init>(SelfSignedCertificate.java:82) 07-31 13:01:39.861: W/System.err(8693): at io.netty.handler.ssl.util.SelfSignedCertificate.<init>(SelfSignedCertificate.java:71) 

Everything works before, but now it doesn’t, and I don’t know why. I start the server in the stream.

+4
source share

All Articles