FAQ Database Discussion Community

Error loading rsa private key - MUP to Deploy Meteor App at Digital Ocean w/SSL

I have a Meteor app I am deploying to a Digital Ocean Ubuntu server via MUP. It works great without SSL, but I can't figure out the SSL part. I Purchased a Comodo SSL Cert. They sent me 4 .crt files. I can the following command: cat cert1.crt cert2.crt cert3.crt...

Add IP Address to Amazon Web Services (AWS) PEM Key

I have a website hosted using AWS and I can log in at the office but when I get home, it doesn't let me using the same credentials. How can I add my home's IP address to the account? I'm not sure if I have to whitelist it from somewhere...

Cannot connect via ssh to FiLab ubuntu instance

I try with ssh -i file.pem [email protected] and I get the timeout error. What I did before: Create the instance on the FiLab panel Add a floating ip Create and add a keypair for remote access Download de file.pem and give it 600 permissions Look for the missing documentation Send...

Verifying XML Signature in Powershell with PEM Certificate

I am trying to create a powershell script that will consume data with in a XML document. However, prior to doing any work I need to verify the XML hasn't been tampered with by verifying the signature. I have a copy of the public key for the cert used to...

OpenSSL's rsautl cannot load public key created with PEM_write_RSAPublicKey

I've generated a public key using openssl BIGNUM* e = BN_new(); BN_set_word(e, 17); RSA* rsa = RSA_new(); if(!RSA_generate_key_ex(rsa, 2048, e, NULL)) { LOG(security, debug) << "failed to generate private key"; } And these are written to files: FILE* pubwriter = fopen("key.pub", "wb"); int err = PEM_write_RSAPublicKey(pubwriter, key); if(!err) { throw...

chrome store extension private rsa key

I uploaded an extension to the chrome store without generating a .pem for it. I want however to distribute the package independently of chrome store to beta testers as well. Is there a way to get the private key that google assigned to my extension?

Getting RSAPublicKey From File With Extension pem

I am trying to implement Paybox Payment Gateway integration to my application. After payment Paybox returns me a signature and I have to verify it. I have test keys provided by Paybox, 'TestK004.prv.pem' and 'TestK004.pub.pem'. Here is my Test Class: package com.alpha.shop.component.payment.methods.crc.impl.ww.paybox; import java.security.interfaces.RSAPublicKey; import java.security.Signature; import java.security.KeyFactory; import java.security.spec.X509EncodedKeySpec;...

Push notification delivers from local env, but not from server

I'm trying to get my server to deliver push notifications via Apple's Push Notification service. (APNs) My setup is as follows: Cordova HTML/JS app API in Rails on VPS via https Houston gem for Push Notifications I've created a certificate for development on my mac. When I run my server...

C# RSA Public Key Output Not Correct

I am currently trying to generate and send a public RSA key using C#. It should be a 2048 bit long key in PEM format. I have successfully done so using OpenSSL command with the following (some output are shortened): $ openssl genrsa 2048 Generating RSA private key, 2048 bit...

Read X509-Certificate to process it

I need to read a X509 certificate in C++. I couldn't find a way to do that with the GnuTLS library. The certificate has to be read in PEM or DER format, so that I can process it twith functions of the GnuTLS library. Is there a pendant to the...