Dogtag 10.2.6 on Fedora 22And what I'm trying to do is module to some bigger application to use dogtag as CA/KRA via rests.What is a part I'm working now?request new personal certs for encrypting data with option to retrive it when user lost own private key.I have a lots of problem with Dogtag and Fedora, becouse linux is not my first option but I kinda liked it (:I'm new with mailing lists so sorry for repeating myself, this time i hit reply to all.2015-10-14 14:56 GMT+02:00 Ade Lee <alee@redhat.com>:Great - glad it was resolved. I'm curious though - can you explain what it is you are trying to do?What platform and what version of Dogtag are you building all these on?AdeOn Wed, 2015-10-14 at 14:52 +0200, Marcin Mierzejewski wrote:Update, problem solved with jss version from fedora: /usr/lib64/jss2015-10-14 14:27 GMT+02:00 Marcin Mierzejewski <marcinmierzejewski1024@gmail.com>:I' m trying to build dogtag rest client but after adding jars I found in system:here is the list:pki-ca.jarI got some problem with dependencies with them(resteasy was missing) so I resolved them with maven pom. Now i have problem with mozilla JSS lib. In mozilla ftp(https://ftp.mozilla.org/pub/security/jss/releases/) i found .jar and .so packages for difrent versions(from 3.0 to 4.3 ) but after checking all of them none of them have inner class SSLVersionRange in SSLSocket(check stacktrace bellow).
pki-certsrv.jar
pki-cms.jar
pki-cmscore.jar
pki-cmsutil.jar
pki-console.jar
pki-kra.jar
pki-nsutil.jar
pki-ocsp.jar
pki-tks.jar
pki-tomcat.jar
pki-tools.jar
pki-tps.jarSo i checked what is dogtag source package dependecies and all i found in CMakeLists.txt is that dogtag is build with jss4.jarSo, my question is what exact version of JSS is dogtag using and where I can get it?
Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/jss/ssl/SSLSocket$SSLVersionRange
at com.netscape.certsrv.client.PKIConnection$JSSProtocolSocketFactory.connectSocket(PKIConnection.java:333)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine.invoke(ApacheHttpClient4Engine.java:283)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:436)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:102)
at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:64)
at com.sun.proxy.$Proxy37.listProfiles(Unknown Source)
at com.netscape.certsrv.profile.ProfileClient.listProfiles(ProfileClient.java:59)
at com.company.CATest.test(CATest.java:93)
at com.company.Main.main(Main.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)_______________________________________________ Pki-users mailing list Pki-users@redhat.com https://www.redhat.com/mailman/listinfo/pki-users