key-pair Questions

14

I have created my own EBS AMI, shared it with another AWS account, launched NEW instance based on this image with NEW key-pair and now when I am trying to connect to this new instance I am getting ...

1

Solved

I am trying to create a new key pair using the CloudFormation service AWS. I wrote the yaml below and sent it to CF. But it caused a strange result. AWSTemplateFormatVersion: "2010-09-09"...

2

Solved

I'm using this command to generate private ed25519 key: openssl genpkey -algorithm ed25519 -out private.pem and this is the example result: -----BEGIN PRIVATE KEY----- MC4CAQAwBQYDK2VwBCIEIAYIsKL0...
Hymeneal asked 7/5, 2022 at 10:37

6

Solved

I caught the following errors when adding a new pair to a Map. Variables must be declared using the keywords const, final, var, or a type name Expected to find; the name someMap is already defined...
Jecho asked 24/12, 2018 at 1:28

23

How do I change the key pair for my ec2 instance in AWS management console? I can stop the instance, I can create new key pair, but I don't see any link to modify the instance's key pair.
Faultfinder asked 24/10, 2011 at 20:19

3

Solved

There are lots of SO posts on this topic but most of them are for Windows and use the GUI. All others posts seem to use the CLI. Is there a GUI version of puttygen on MacOS/Linux and if so ...
Colincolinson asked 17/5, 2016 at 21:50

2

Solved

In EC2, i spinned a CentOS v6.5 instance, and i got a Key Pair as well (of course). But the problem is, i hoped it would be like as usual before that it would creates the ec2-user user, so that i c...
Littell asked 22/9, 2014 at 3:47

3

Solved

I'm following this guide of creating aws environment. Now after I created my environment I want to ssh to the ec2. What I need is to create private-public key pair, which I don't know how. at the...
Junkojunkyard asked 27/3, 2019 at 23:30

5

I'm trying to get sha384 with ECDSA keys. I'm following this article but I changed RSA to EC, of course. The keys are successfully generated, but encryptMessageWithPublicKey() doesn't work :( V...
Aundreaaunson asked 10/5, 2017 at 12:51

1

Solved

I've created the following method that creates a KeyPair and logs the Certificate details: @RequiresApi(api = Build.VERSION_CODES.N) public void createRSAKeyPairtWithChallenge(final String alias, ...
Inchoative asked 19/5, 2020 at 21:29

1

iOS 13's CryptoKit framework provides a .rawRepresentation value for ECDSA public and private keys. I've been trying to reverse-engineer the rawRepresentation data type to convert between it and JW...
Tailpiece asked 26/7, 2019 at 19:2

1

Solved

I am on node version: v10.14.1 and I generate keyPairs with this code: generateKeyPair('rsa', { modulusLength: 4096, publicKeyEncoding: { type: 'pkcs1', format: 'pem' }, privateKeyEncoding: ...
Decastere asked 22/12, 2018 at 16:23

2

How do you manage your Private / Public Keys for signing / validating JWTs in Spring Cloud environment? The "problem": At the moment I generate a Key Pair. Then copy Private + Public Key to my au...
Topazolite asked 21/8, 2018 at 11:11

3

Solved

What exactly is a BIO pair in OpenSSL, and how is it intended to be used? I've already checked the OpenSSL docs, but any details are few and far between.
Edmanda asked 13/1, 2009 at 15:36

1

Solved

I am trying to generate RSA keypair using openssl library and then read the same keys later. However, it fails. Sometimes it gives me this error: error:0906D06C:PEM routines:PEM_read_bio:no sta...
Tufted asked 16/5, 2018 at 5:33

1

Solved

In a program I am developing I need a way to add public keys into the authorized_keys file during development, so I am using command line arguments to do so. I have omitted most of the code, but i...
Madonna asked 29/12, 2017 at 0:45

1

Solved

Is it possible that ssh-keygen & openssl can generate two different public keys from same private key? Command ssh-keygen -y -f ./my.key gives (contents after ssh-rsa in the same line) differen...
Materialism asked 22/10, 2017 at 4:43

2

Solved

I'm trying to generate a key pair using the /java bouncy castle 1.52 implementation for curve 25519 what gives me java.lang.IllegalArgumentException: string curve25519 not an OID Here is my c...

1

I am working on a project where I need my app to generate a public/private RSA key for SSH login. I have the following code so far to get the keys: private void createKeyTest() { try { KeyPa...
Pronunciation asked 17/7, 2016 at 19:51

1

I have app which uses Fingerprint and 4 digit pin (which can be set by user in application settings, this is not system pin/pattern/password) authorization. With Fingerprint everything is fine, I ...
Altimetry asked 11/11, 2016 at 12:58

3

Solved

I have pairs tuple array pickerDataVisitLocation.just I want to know how to return key value pair location from my array using uniqId ex 204 var pickerDataVisitLocation:[(uniqId:Int,location:Stri...
Troll asked 13/10, 2016 at 19:46

1

Solved

I'm trying to convert a .pub file's contents to a PublicKey and then convert the PublicKey back into a String in order to determine if the conversion is working and does not change the key in the p...
Perkoff asked 23/8, 2016 at 15:18

2

Solved

Just for running a test I want to put an image file into one of my instance folders from my Desktop. I've tried solutions provided at this same topic question: Rsync to Amazon Ec2 Instance So I'v...
Apollonius asked 29/9, 2014 at 18:19

2

Solved

I use JSch with private key to FTP file jsch.addIdentity(privatekeyfile); Session session = jsch.getSession("user", "example.com", 22); session.setConfig("StrictHostKeyChe...
Eliathas asked 11/5, 2015 at 22:53

2

Solved

I have created an EC2 instance on AWS. I want to connect to the instance using PuTTY, but it requires PPK file. I have PEM file which I want to covert into PPK using PuTTYgen. How do I use P...
Telfore asked 20/1, 2015 at 10:16

© 2022 - 2024 — McMap. All rights reserved.