<html><head></head><body><div>Interesting.  I thought you were trying to build on some different platform.</div><div>Fedora though is a platform on which we regularly do builds - in fact, its the first place we do builds.</div><div><br></div><div><a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=689385">http://koji.fedoraproject.org/koji/buildinfo?buildID=689385</a> is the latest F22 build of 10.2.6</div><div><br></div><div>That build contains both server and client side RPMs.  For client side only, you want pki-base - </div><div>which should pull in all the necessary packages (jss, resteasy client libs etc.)  If there are missing dependencies,</div><div>its a bug.</div><div><br></div><div>Ade</div><div><br></div><div>On Wed, 2015-10-14 at 15:13 +0200, Marcin Mierzejewski wrote:</div><blockquote type="cite"><div dir="ltr"><span style="color:rgb(0,0,0);font-size:12.8px">Dogtag 10.2.6 on Fedora 22</span><div style="color:rgb(0,0,0);font-size:12.8px">And what I'm trying to do is module to some bigger application to use dogtag as CA/KRA via rests.</div><div style="color:rgb(0,0,0);font-size:12.8px">What is a part I'm working now? </div><div style="color:rgb(0,0,0);font-size:12.8px">request new personal certs for encrypting data with option to retrive it when user lost own private key.</div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px">I have a lots of problem with Dogtag and Fedora, becouse linux is not my first option but I kinda liked it (:</div><div style="color:rgb(0,0,0);font-size:12.8px">I'm new with mailing lists so sorry for repeating myself, this time i hit reply to all.</div><div class="" style="color:rgb(0,0,0);font-size:12.8px"></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-14 14:56 GMT+02:00 Ade Lee <span dir="ltr"><<a href="mailto:alee@redhat.com" target="_blank">alee@redhat.com</a>></span>:<br><blockquote type="cite"><div><div>Great -  glad it was resolved.  I'm curious though - can you explain what it is you are trying to do?</div><div>What platform and what version of Dogtag are you building all these on?</div><div><br></div><div>Ade</div><div><div class="h5"><div><br></div><div>On Wed, 2015-10-14 at 14:52 +0200, Marcin Mierzejewski wrote:</div></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Update, problem solved with jss version from fedora: /usr/lib64/jss</div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-14 14:27 GMT+02:00 Marcin Mierzejewski <span dir="ltr"><<a href="mailto:marcinmierzejewski1024@gmail.com" target="_blank">marcinmierzejewski1024@gmail.com</a>></span>:<br><blockquote type="cite"><div dir="ltr">I' m trying to build dogtag rest client but after adding jars I found in system:<div>here is the list:<br><div style="margin-left:40px">pki-ca.jar<br>pki-certsrv.jar<br>pki-cms.jar<br>pki-cmscore.jar<br>pki-cmsutil.jar<br>pki-console.jar<br>pki-kra.jar<br>pki-nsutil.jar<br>pki-ocsp.jar<br>pki-tks.jar<br>pki-tomcat.jar<br>pki-tools.jar<br>pki-tps.jar<br></div>I 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(<a href="https://ftp.mozilla.org/pub/security/jss/releases/" target="_blank">https://ftp.mozilla.org/pub/security/jss/releases/</a>) 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).<br></div><div>So i checked what is dogtag source package dependecies and all i found in CMakeLists.txt is that dogtag is build with jss4.jar <b><br></b></div><div><b>So, my question is what exact version of JSS is dogtag using and where I can get it? </b><br></div><div><br><br><br><blockquote><br>Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/jss/ssl/SSLSocket$SSLVersionRange<br>    at com.netscape.certsrv.client.PKIConnection$JSSProtocolSocketFactory.connectSocket(PKIConnection.java:333)<br>    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)<br>    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)<br>    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)<br>    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)<br>    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)<br>    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)<br>    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)<br>    at org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine.invoke(ApacheHttpClient4Engine.java:283)<br>    at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:436)<br>    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:102)<br>    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:64)<br>    at com.sun.proxy.$Proxy37.listProfiles(Unknown Source)<br>    at com.netscape.certsrv.profile.ProfileClient.listProfiles(ProfileClient.java:59)<br>    at com.company.CATest.test(CATest.java:93)<br>    at com.company.Main.main(Main.java:15)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>    at java.lang.reflect.Method.invoke(Method.java:497)<br>    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)<br></blockquote><br></div></div>
<br></blockquote></div><br></div>
</div></div><pre>_______________________________________________
Pki-users mailing list
<a href="mailto:Pki-users@redhat.com" target="_blank">Pki-users@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/pki-users" target="_blank">https://www.redhat.com/mailman/listinfo/pki-users</a></pre></blockquote></div><br></blockquote></div><br></div>
</blockquote></body></html>