Questions tagged [private-key]
170 questions
0
votes
0 answers
Decrypt remote file securely with local private key
I've created a alldots.tar file mainly with dot config files from my local server. I then transferred it to my other (remote) server and there it is, cryptographed.
It didn't occur at the time of creating that I would need the private key there as…

DrBeco
- 109
- 6
0
votes
0 answers
Linux server ssh connection wont authenticate my account using ssh key gen and prompts me for password
I am facing an issue in Ubuntu 22.04.2. where I am unable to SSH into a remote server using a copied public key. I have generated an SSH key pair on my local machine using a bash terminal, and I have successfully copied the public key (id_rsa.pub)…
0
votes
1 answer
I want to connect to my repo via SSH on a remote server, do I need to store my private keys on the server as well?
I'm following these steps to be able to connect to my BitBucket account/repo on a remote server.
I'm a bit confused. I already have a separate pair of keys for BitBucket (i.e. to do stuff on my local machine). So, I need to generate a new pair of…
0
votes
1 answer
NetApp: Cannot import private key from an external CA
Using the ONTAP System Manager, I'm trying to add a certificate according to the docs. Unfortunately, whenever I try to import the private key file, I get the following error:
No valid private keys can be imported from the selected file.
When I…

stackprotector
- 596
- 1
- 8
- 27
0
votes
0 answers
Nginx SSL private key error
I'm configuring Nginx with self-signed SSL certificate. Nginx fails to start due to the following error
[emerg] cannot load certificate key "/path/to/my.key": PEM_read_bio_PrivateKey() failed (SSL: error:0D0680A8:asn1 encoding…

kebugcheck
- 1
- 1
0
votes
0 answers
SSL cert questions - PFX to .key , .crt, and. csr for ACM
I'm a long time lurker but I can't figure something out and wondered if someone can offer guidance.
I am following AWS's tutorial on how to convert pfx to .crt and .key but I have a question.
When removing the password for the privatekey,
openssl…

SrNewbieEngineer
- 11
- 3
0
votes
1 answer
Terraform aws_key_pair creates weird key
I've been researching and testing deploying stuff with terraform, aws secretsmanager and basic ec2 instances.
I got it working. Well, the instance comes up, keys are created, and a remote-exec using said key, works!
However, the key, if I output it,…

Stefan
- 21
- 3
0
votes
0 answers
Is it possible to generate a new self-signed certificate from an existing private key with powershell?
New-SelfSignedCertificate -ExistingKey "c:\cts_privkey.pem" -Container localhost -Provider "Microsoft Enhanced RSA and AES cryptographic Provider" -DnsName "example.com" -CertStoreLocation "cert:\LocalMachine\My"
I get the error:
I think I am…

tks.tman
- 101
- 2
0
votes
2 answers
Decrypt a pcks8 private key file on windows?
Is there any way on standard Windows Server (such as with certutil?) to decrypted a pkcs8 pem encrypted private key?
i.e. What is the equivalent on windows of:
openssl pkcs8 -in key.enc -out key.pem
I tried looking through certutil doc for ages and…

Secto Kia
- 101
- 1
0
votes
0 answers
Private key is not generating from .p12 file
I generated my .p12 file using the below command
keytool -importkeystore -srckeystore mycert.jks -destkeystore keystore.p12 -deststoretype PKCS12
The above command successfully generated a 7 KB .p12 file. After this, i tried generating my private…

node_saini
- 101
- 2
0
votes
1 answer
Create new SubCA certificate fails with NTE_PROV_TYPE_NOT_DEF
I am trying to manually create a key and CSR for a new Windows AD CS Enterprise Subordinate CA (Windows Server 2019).
I'd like to store the key in the modern Microsoft Software Key Storage Provider.
It fails with Provider type not defined.…

Daniel
- 6,940
- 6
- 33
- 64
0
votes
2 answers
Encrypted files stored next to GPG Key in backup – alternative solution?
During a recent test run to see if my personal backups work as intended, I noticed that I store my GPG key next to files encrypted with that key on the same disk. Although the disk is encrypted (LUKS) and the key has a strong passphrase, this feels…

Sven
- 151
- 1
- 1
- 3
0
votes
2 answers
Public/private key
I just watch this video https://youtu.be/ZhMw53Ud2tY and the question I have is if I have to generate a public/private key pair for each server I’m looking to login to or if I just generate one pair and use that for each server. Somehow that last…

vespino
- 111
- 5
0
votes
1 answer
Apache SSL certificate and Private key
we've a server apache and the certificate is expired. We have an SSL Wildcard certificate issued by Sectigo.
I generated the new certificate on our reseller site and we're going to upload it in the machine with apache.
We didn't use the private key…

Max
- 1
- 1
0
votes
1 answer
Private ssh key not working in some devices. "Error: permission denied (publickey)."
I have a virtual server. Recently, I disabled PasswordAuthentication to make it more secure.
I had already created a key pair using Puttygen in Windows. I converted the private key (.ppk) using putty-tools in Linux so that I could use it in my Linux…

богдан
- 1
- 1