[JIRA] [ec2-plugin] (JENKINS-31323) When testing connection, "problem creating RSA private key" exception is raised

2016-02-22 Thread brian.sm...@particle.city (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Brian Smith edited a comment on  JENKINS-31323 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When testing connection, "problem creating RSA private key" exception is raised  
 
 
 
 
 
 
 
 
 
 After struggling with the same error  for days , finally realized it was because the Key Pair being used was password protected, which the plugin doesnt support.  Since the generate keypair gives a _javascript_ error in current version of chrome, try creating a new Key Pair from the AWS management console, opening up the .pem in a text editor, and pasting it into the private key text field of the ec2-plugin config.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ec2-plugin] (JENKINS-31323) When testing connection, "problem creating RSA private key" exception is raised

2016-02-22 Thread brian.sm...@particle.city (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Brian Smith commented on  JENKINS-31323 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When testing connection, "problem creating RSA private key" exception is raised  
 
 
 
 
 
 
 
 
 
 
After struggling with the same error for days, finally realized it was because the Key Pair being used was password protected, which the plugin doesnt support. Since the generate keypair gives a _javascript_ error in current version of chrome, try creating a new Key Pair from the AWS management console, opening up the .pem in a text editor, and pasting it into the private key text field of the ec2-plugin config.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [ec2-plugin] (JENKINS-31323) When testing connection, "problem creating RSA private key" exception is raised

2015-10-30 Thread ty...@monkeypox.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 R. Tyler Croy created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31323 
 
 
 
  When testing connection, "problem creating RSA private key" exception is raised  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Francis Upton 
 
 
 

Components:
 

 ec2-plugin 
 
 
 

Created:
 

 31/Oct/15 12:21 AM 
 
 
 

Environment:
 

 Jenkins 1.625.1, ec2-plugin 1.29) via the jenkins docker image 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 R. Tyler Croy 
 
 
 
 
 
 
 
 
 
 
When trying to configure a new cloud, I've added an SSH private key, my AWS key ID and secret access key. When hitting "Test Connection" an "ERROR" is shown which when clicked displays the following stacktrace: 

 

java.io.IOException: problem creating RSA private key: java.lang.RuntimeException
	at org.bouncycastle.openssl.PEMReader.readObject(Unknown Source)
	at hudson.plugins.ec2.EC2PrivateKey.getFingerprint(EC2PrivateKey.java:84)
	at hudson.plugins.ec2.EC2PrivateKey.find(EC2PrivateKey.java:137)
	at hudson.plugins.ec2.EC2Cloud$DescriptorImpl.doTestConnection(EC2Cloud.java:600)
	at hudson.plugins.ec2.AmazonEC2Cloud$DescriptorImpl.doTestConnection(AmazonEC2Cloud.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc