• About Us
    • Who We Are
    • Our Work
    • Our Clients
    • Our Partners
    • Our Blog
    • News & Events
  • Solutions
    Analytics & Data Management

    Big DataBusiness AnalyticsData IntegrationData Warehousing

    Digital Business Automation

    Advanced Case ManagementBusiness Rules ManagementBusiness Process Management

    Connectivity & System Integration

    API ManagementEnterprise Service Bus

    Enterprise Content Management

    Content Capturing & ImagingEnterprise Content Management

    Enterprise Portal & Mobility

    Digital Customer ExperienceDigital Workplace

  • Industry Solutions
    • Banking >
    • Government >

    Digital Banking Transformation

    Business Process Management

    Business Rules Management

    Checks Collection & Clearing

    Counter Fraud Management

    Customer Due Diligence

    Customer Onboarding

    Daily Vouchers Management

    Debt Collections & Recovery

    Enterprise Content Management

    Enterprise Service Bus

    Smart Analytics

    Trade Finance Automation

    Digital Government Transformation

    Business Analytics

    Business Process Management

    Correspondence Management

    Documents & Records Management

    Enterprise Service Bus

    Pensions & Social Programs

    Social Collaboration Portal

    Strategy Management

    Utility Billing

  • Services
    • Application Development Outsourcing
    • IT Consultancy
    • Testing Services
  • Careers
    • Careers Homepage
    • Get To Know Us
    • Engineering @ Sumerge
    • Our Culture
    • Benefits & Wellbeing
    • Job Openings
    • Graduate Programs
  • About Us
    • Who We Are
    • Our Work
    • Our Clients
    • Our Partners
    • Our Blog
    • News & Events
  • Solutions
    Analytics & Data Management

    Big DataBusiness AnalyticsData IntegrationData Warehousing

    Digital Business Automation

    Advanced Case ManagementBusiness Rules ManagementBusiness Process Management

    Connectivity & System Integration

    API ManagementEnterprise Service Bus

    Enterprise Content Management

    Content Capturing & ImagingEnterprise Content Management

    Enterprise Portal & Mobility

    Digital Customer ExperienceDigital Workplace

  • Industry Solutions
    • Banking >
    • Government >

    Digital Banking Transformation

    Business Process Management

    Business Rules Management

    Checks Collection & Clearing

    Counter Fraud Management

    Customer Due Diligence

    Customer Onboarding

    Daily Vouchers Management

    Debt Collections & Recovery

    Enterprise Content Management

    Enterprise Service Bus

    Smart Analytics

    Trade Finance Automation

    Digital Government Transformation

    Business Analytics

    Business Process Management

    Correspondence Management

    Documents & Records Management

    Enterprise Service Bus

    Pensions & Social Programs

    Social Collaboration Portal

    Strategy Management

    Utility Billing

  • Services
    • Application Development Outsourcing
    • IT Consultancy
    • Testing Services
  • Careers
    • Careers Homepage
    • Get To Know Us
    • Engineering @ Sumerge
    • Our Culture
    • Benefits & Wellbeing
    • Job Openings
    • Graduate Programs

Generating Public and Private Keys RSA

  • On April 2, 2016

Installing OpenSSL 

OpenSSL is officially distributed in C source code format. This is not a problem for Unix systems where C compiler is always available. But if you have a Windows system, you will have a hard time to install OpenSSL in C source code format. What you should do is to find a pre-compiled binary version for Windows.

Go to http://gnuwin32.sourceforge.net/packages/openssl.htm, and download the “Setup” version of “Binaries”, openssl-0.9.7c-bin.exe.

Download OpenSSL Configuration File. 

http://web.mit.edu/crypto/openssl.cnf

Generating Public Keys and Private Keys

  1. Generate an RSA private key:

>C:\Openssl\bin\openssl.exe genrsa -out <Key Filename> <Key Size>

Where:

  • <Key Filename> is the desired filename for the private key file
  • <Key Size> is the desired key length of either 1024, 2048, or 4096

For example, type:

>C:\Openssl\bin\openssl.exe genrsa -out my_key.key 2048

       2. Generate a Certificate Signing Request:

In version 0.9.8g:

>C:\Openssl\bin\openssl.exe req -new -key <Key Filename> -out <Request Filename> -config C:\Openssl\bin\openssl.cnf

-OR-

In version 0.9.8h and later:

>C:\Openssl\bin\openssl.exe req -new -key <Key Filename> -out <Request Filename> -config C:\Openssl\bin\openssl.cfg

Where:

  • <Key Filename> is the input filename of the previously generated private key
  • <Request Filename> is the output filename of the certificate signing request

For example, type:

>C:\Openssl\bin\openssl.exe req -new -key my_key.key -out my_request.csr -config C:\Openssl\bin\openssl.cnf

Follow the on-screen prompts for the required certificate request information.

      3. Generate a self-signed public certificate based on the request

>C:\Openssl\bin\openssl.exe x509 -req -days 3650 -in <Request Filename> -signkey <Key Filename> -out <Certificate Filename>

Where:

  • <Request Filename> is the input filename of the certificate signing request
  • <Key Filename> is the input filename of the previously generated private key
  • <Certificate Filename> is the output filename of the public certificate

For example, type:

>C:\Openssl\bin\openssl.exe x509 -req -days 3650 -in my_request.csr -signkey my_key.key -out my_cert.crt

 
Recent Blog Posts
  • Getting the Best Website | Build Your Own Website
  • De reden waarom iedereen praat over Data Room… De eenvoudige waarheid onthuld | Virtual data room index
  • Business Deals Explained
  • Business Deals Described
  • Organization Deals Described
Categories
  • General
  • Technology & Business
  • Software Engineering
    • Application Servers
    • Application Testing
    • Architecture
    • Business Analysis
    • Enterprise Content Management
      • Case Manager
    • Java
    • Frontend
    • Uncategorized
  • News & Events
  • Featured

Building Dynamic Forms With Validation Using AngularJS

Previous thumb

Sumerge relocates its headquarters to Maadi, Egypt

Next thumb
Scroll
Follow us

Significant change, positive impact and passion are our fuel. We have a unique culture reflecting the way we think and act. A culture that encourages freedom and responsibility, high performance, customer centricity and innovation.

About us

Who We Are
Our Work
Our Clients
Careers
News & Events

Services

Application Development
Consultancy
Testing Services

Solutions

Analytics & Data Management
Business Process Automation
Connectivity & System Integration
Enterprise Content Management
Enterprise Portal & Mobility

Industries

Banking
Government

Latest News
  • Sumerge is exhibiting at IBM Digital Business Automation day in Egypt
    November 1, 2018
  • Access Privileges Process to be delivered to Blom Bank, Egypt
    October 5, 2018
Copyright Ⓒ 2018 Sumerge. All rights reserved. Developed by ripplemark
  • Blog
  • |
  • Support
  • |
  • Contact Us
 Logo Header Menu
  • About Us
    • Who We Are
    • Our Work
    • Our Clients
    • Our Partners
    • Our Blog
    • News & Events
  • Solutions
    • Analytics & Data Management
      • Big Data
      • Business Analytics
      • Data Integration
      • Data Warehousing
    • Digital Business Automation
      • Advanced Case Management
      • Business Process Management
      • Business Rules Management
    • Connectivity & System Integration
      • API Management
      • Enterprise Service Bus
    • Enterprise Content Management
      • Content Capturing & Imaging
      • Enterprise Content Management
    • Enterprise Portal & Mobility
      • Digital Customer Experience
      • Digital Workplace
  • Industry Solutions
    • Banking
      • Digital Banking Transformation
      • Business Process Management
      • Business Rules Management
      • Checks Collection & Clearing
      • Counter Fraud Management
      • Customer Due Diligence
      • Customer Onboarding
      • Daily Vouchers Management
      • Debt Collections & Recovery
      • Enterprise Content Management
      • Enterprise Service Bus
      • Smart Analytics
      • Trade Finance Automation
    • Government
      • Digital Government Transformation
      • Business Analytics
      • Business Process Management
      • Correspondence Management
      • Documents & Records Management
      • Enterprise Service Bus
      • Pensions & Social Programs
      • Social Collaboration Portal
      • Strategy Management
      • Utility Billing
  • Services
    • Application Development Outsourcing
    • IT Consultancy
    • Testing Services
  • Careers
    • Careers Homepage
    • Get To Know Us
    • Engineering @ Sumerge
    • Our Culture
    • Benefits & Wellbeing
    • Job Openings
    • Graduate Programs