In our case we needed to make sure nss >= 3.16 as a yum package on rhel 6.5

On Wednesday, August 12, 2015 at 6:12:32 PM UTC-4, David Daniel wrote:
>
> So I ran into the same issue, and was able to figure out what the problem 
> is (skip to the bottom if you want to jump directly to the answer). 
>
> According to the source code (
> http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/9b8c96f96a0f/src/share/classes/sun/security/ec/ECKeyPairGenerator.java#l166),
>  
> it looks like ECKeyPairGenerator.generateECKeyPair is a call across the 
> Java Native Interface to an implementation in another language (probably C, 
> since this looks like a CPU intensive task, and the implementation was done 
> in C).
>
> So I wrote a simple desktop application that just directly called 
> ECKeyGenerator.generateECKeyPair(). This caused the following exception to 
> be thrown:
>
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.security.ec
> .ECKeyPairGenerator.generateECKeyPair(I[B[B)[Ljava/lang/Object;
>  at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method)
>  at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.
> java:126)
>  at ECGenerator.main(ECGenerator.java:10)
>
> The implementation can be found here: 
> http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/9b8c96f96a0f/src/share/native/sun/security/ec/ECC_JNI.cpp#l73
>
> I'm still trying to figure out why its not linked but if anyone knows, 
> please update this thread. I'll update the thread if I have a solution.
>
>
> On Friday, June 26, 2015 at 2:38:49 PM UTC-4, Jaime Flynn wrote:
>>
>> Thanks for the replies on this topic!
>>
>> We have tried using the Skip Certificate Check Plugin and that didn't 
>> help.
>>
>> The cert was generated with "keytool -genkey".  We have tried exporting 
>> this cert from its original keystore and importing it into the cacerts file 
>> and that didn't help either.
>>
>> We have also tried regenerating a new cert (with keytool and openssl) to 
>> no avail.
>>
>> Jenkins was also started with the Java option 
>> "-Djsse.enableSNIExtension=false", but that doesn't seem to help either.
>>
>> This was tested using Jenkins version 1.609.1 and Java 
>> version java-1.7.0-openjdk-1.7.0.79-2.5.5.4.el6.x86_64.
>>
>> Any other suggestions are greatly appreciated.
>>
>>
>>
>> On Friday, June 12, 2015 at 8:17:20 AM UTC-5, Tom Moore wrote:
>>>
>>> Have you tried the Skip Certificate Check plugin?   Generally its not a 
>>> great idea to be skipping security checks, but for a test instance it might 
>>> be acceptable.
>>>
>>> On Thursday, June 11, 2015 at 9:30:26 PM UTC-4, Ari LiVigni wrote:
>>>>
>>>> we used the keytool to create the self-signed cert so I assumed that 
>>>> was the correct method.
>>>>
>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1526dbd6-e255-412e-9db8-6a588f5ce036%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to