Error while creating a CSR

g90uagk picture g90uagk · Jan 19, 2017 · Viewed 12.5k times · Source

During the creation of self-signed certificate using OpenSSL command line tool, i'm encountered with an error

First I created a private key

openssl genrsa -out MyKey1.key 2048

While creating a CSR i'm getting an error

openssl req -new -out MyCert1.req -key MyKey1.key -subj /CN=Description of the Server

Error is

problem creating object tsa-policy1=1.2.3.4.1

5364:error:08064066:object identifier routines:OBJ_create:pid exists:crypto\objects\obj_dat.c:689:

Is there something i'm missing here ?

Answer

kumar picture kumar · Oct 30, 2018
  1. Close the current cmd window and open new cmd window.

  2. Continue from the second "req" step.