OpenSSL Command-prompt: unable to create a specifica self-signed certificate

Home Forums Other Open Source OpenSSL Command-prompt: unable to create a specifica self-signed certificate

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    CCharles
    Member
    #150535

    Hello.
    I don’t know if this is the best forum for this but I hope so.
    After some studying I managed to create a self-signed certificate using OpenSSL command-prompt. However I don’t know how to create it according to what was asked. I have used the following lines:

    1. To create a private RSA 1024 key:

    openssl genrsa -out PrivateKey.pem 1024

    2. To get the public key from the private one:

    openssl rsa -in PrivateKey.pem -out PublicKey.pem -outform PEM –pubout

    3. To create the request for my certificate:

    openssl -new -utf8 -key PrivateKey.pem -out Mine.Csr

    4. To self-sign my certificate:

    openssl x509 -req -sha1 -days 365 -in Mine.csr -signkey PrivateKey.Pem -out Mine.crt

    I’ve stopped when I tried to get what was asked for, ie, to create a self-signed certificate based on the private key with the following specifications:

    x.509 format (which it’s solved)
    UTF-8 charset ( I think it’s also solved )
    Base-64 Encoding ( I think it’s solved taking into account that the keys are in PEM format )
    Endianess = Little Endian( not solved)
    OAEP Padding = PKCS1 v1.5 padding (not solved)
    Hash message format=SHA-1 (I think it is also solved)

    I’ve been looking for a solution since Wednesday, so please feel free to help me on this ( OpenSSL is an excellent service but lacks an active community or at least one that is easy to get to ).

    Thanks.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.