< 1 2 3 4 5 6 7 > >>   Sort: Date

OpenSSL "ans1parse" - ASN.1 INTEGER Field Type
What is ASN.1 INTEGER field type? How to specify INTEGER field type in OpenSSL "asn1parse" command? ASN.1 INTEGER field is a primitive field that can be used to store signed integers of any size. To use ASN.1 INTEGER field in OpenSSL "asn1parse" command, you need to remember the following rules: ASN...
2016-09-30, 6041👍, 0💬

What Is OpenSSL
What is OpenSSL? OpenSSL is a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. OpenSSL is maintained by a worldwide commu...
2012-07-22, 5969👍, 0💬

OpenSSL "ca" Error "lookup failed for ca::database"
Why I am getting the "variable lookup failed for ca::database" error when running OpenSSL "ca" command? You are getting the "variable lookup failed for ca::database" error, because OpenSSL "ca" command can not find the required "database" option in the configuration file. For example, if you have th...
2016-09-08, 5950👍, 0💬

OpenSSL rsautl "data too large for key size" Error
Why am I getting the "data too large for key size" error, when using OpenSSL "rsautl" command to encrypt a large file? Because of the nature of the RSA algorithm, a single encryption process can only encrypt input data that is smaller than the modulus value of the RSA key. In other words, the size (...
2017-06-07, 5873👍, 0💬

OpenSSL Command to List All Commands
How to list all commands in OpenSSL? I don't remember exactly what is the command to generate a CSR. Interestingly, there is no OpenSSL command to list all commands supported in OpenSSL. And there is no "help" command. However, if you enter "help" as a command, OpenSSL will return you an error messa...
2012-07-23, 5862👍, 0💬

OpenSSL "req -new" - "no objects specified in config file" Error
Why am I getting the "no objects specified in config file" error when running the OpenSSL "req -new" command? If you are getting the "no objects specified in config file" error when running the OpenSSL "req -new" command, because OpenSSL receives no value for all DN (Distinguished Name) fields. Open...
2016-10-29, 5811👍, 0💬

OpenSSL "ca" Error "unable to open ./demoCA/index.txt"
Why I am getting the "unable to open './demoCA/index.txt'" error when running OpenSSL "ca" command? If you are running the OpenSSL "ca" command installed with the slproweb binary package for Windows, you may get the "unable to open './demoCA/index.txt'" error as shown below: C:\Users\fyicenter&g...
2016-09-18, 5802👍, 0💬

List of Commands Supported in OpenSSL
What commands are supported in OpenSSL? Here is a complete list of commands supported in OpenSSL: STANDARD COMMANDS asn1parse - Parse an ASN.1 sequence. ca - Certificate Authority (CA) Management. ciphers - Cipher Suite Description Determination. cms - CMS (Cryptographic Message Syntax) utility crl ...
2012-07-23, 5638👍, 0💬

OpenSSL "ans1parse" - ASN.1 OBJECT IDENTIFIER Field Type
What is ASN.1 OBJECT IDENTIFIER field type? How to specify OBJECT IDENTIFIER field type in OpenSSL "asn1parse" command? ASN.1 OBJECT IDENTIFIER field is a primitive field that can be used to store an Object Identifier (OID) defined in the ASN.1 standard. An OID has 3 equivalent values: short name, l...
2016-09-30, 5561👍, 0💬

OpenSSL "ans1parse" - ASN.1 IA5STRING Field Type
What is ASN.1 IA5STRING field type? How to specify IA5STRING field type in OpenSSL "asn1parse" command? ASN.1 IA5STRING field is a primitive field that can be used to store IA5 (ISO 646) character strings. IA5 character set is generally equivalent to ASCII character set. To use ASN.1 IA5STRING field...
2016-09-30, 5536👍, 0💬

ASN.1 Field Types Supported by OpenSSL
What are ASN.1 field types supported by the OpenSSL "ans1parse" command? OpenSSL "ans1parse" command supports the following ASN.1 field types: BOOLEAN, BOOL - This encodes a boolean type. The value string is mandatory and should be TRUE or FALSE. Additionally TRUE, true, Y, y, YES, yes, FALSE, false...
2016-10-15, 5491👍, 0💬

OpenSSL "ans1parse -genconf" - Nested SEQUENCE ASN.1 Structure
How to how generate a DER with a nested SEQUENCE ASN.1 structure using the OpenSSL "ans1parse" command? You can define a nested SEQUENCE ASN.1 structure in an OpenSSL configuration file and use the "ans1parse -genconf" command to generate a DER with the structure as shown in the test below: C:\Users...
2016-10-15, 5486👍, 0💬

ASN.1 File Structure Supported by OpenSSL
What is the ASN.1 (or ASN1) file structure supported by OpenSSL? ASN.1 (Abstract Syntax Notation One) is a standard and notation that describes rules and structures for representing, encoding, transmitting, and decoding data in telecommunications and computer networking. ASN.1 defines how data of mu...
2016-10-17, 5382👍, 0💬

OpenSSL "req -x509 -set_serial" - Certificate Serial Number
Can I sign my own CSR with a given serial number using the OpenSSL "req -x509" command? Yes, you can sign you own CSR (Certificate Sign Request) with a given serial number using the OpenSSL "req -x509 -set_serial" command as shown below. Without the "-set_serial" option, the resulting certificate wi...
2016-11-11, 5368👍, 0💬

OpenSSL "ans1parse -genconf" - Configuration File
How to generate a DER file with a configuration file using the OpenSSL "ans1parse" command? You can use the OpenSSL configuration file to define an ASN.1 structure and call OpenSSL "ans1parse -genconf config_file" command to generate a DER file by respecting the following rules: 1. Use "ans1parse -g...
2016-10-15, 5348👍, 0💬

OpenSSL "ans1parse" - DER (Distinguished Encoding Rules)
What is the DER (Distinguished Encoding Rules) encoding used in the OpenSSL "asn1parse" command? DER (Distinguished Encoding Rules) is an encoding schema to convert an ASN.1 data structure into a binary string. In other words, DER is a serialization schema for the ASN.1 data structure. DER is one th...
2016-09-28, 5286👍, 0💬

OpenSSL "genrsa" and "rsa" Commands
Where to find tutorials on using OpenSSL "genrsa" and "rsa" commands? Here is a collection of tutorials on using OpenSSL "genrsa" and "rsa" commands compiled by FYIcenter.com team. Note that "genrsa" and "rsa" commands are superseded by "genpkey" and "pKey" commands now. Stop using "genrsa" and "rsa...
2017-02-28, 5271👍, 0💬

OpenSSL "ans1parse -genstr" - Single Primitive Field DER File
How to generate a DER file with a single data field using the OpenSSL "ans1parse" command? You can use the OpenSSL "ans1parse -genstr" command to generate a DER file with a single data field. You just need to specify the field type and field value separated by ":". Here are some examples of using "a...
2016-10-15, 5245👍, 0💬

OpenSSL "ans1parse" Command
Where to find tutorials on using OpenSSL "ans1parse" command? Here is a collection of tutorials on using OpenSSL "ans1parse" command compiled by FYIcenter.com team. OpenSSL "ans1parse" Command Options ASN.1 File Structure Supported by OpenSSL ASN.1 Field Types Supported by OpenSSL OpenSSL "ans1parse...
2016-10-17, 5190👍, 0💬

OpenSSL "x509 -pubout" - Export Public Key"
How to calculate the subject key identifier of a certificate uisng OpenSSL commands? I want to see if it matches the "X509v3 Subject Key Identifier" in the certificate. Accoding to the RFC5280 - Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", the ...
2016-10-17, 5165👍, 0💬

OpenSSL "ans1parse" Command Options
What can I use OpenSSL "ans1parse" command for? What are options supported by the "ans1parse" command? OpenSSL "ans1parse" command is a diagnostic utility that can parse ASN.1 file structures. It can also be used to extract data from ASN.1 files. Here are options supported by the "ans1parse" command...
2016-10-17, 5159👍, 0💬

OpenSSL "ans1parse" - RSA Private Key in ASN.1 Structure
How to view the ASN.1 structure of an RSA private key using the OpenSSL "asn1parse" command? You can use the OpenSSL "asn1parse" command to view the ASN.1 structure of an RSA private key as shown in the test below: C:\Users\fyicenter&gt;\loc al\openssl\opensslgenrsa -out rsa_pri.key 512 Generati...
2016-09-27, 5082👍, 0💬

OpenSSL "ans1parse" - DH Private Key in ASN.1 Structure
How to view the ASN.1 structure of an DH private key using the OpenSSL "asn1parse" command? You can use the OpenSSL "asn1parse" command to view the ASN.1 structure of an DH private key as shown in the test below: C:\Users\fyicenter&gt;\loc al\openssl\opensslgenpkey -genparam -algorithm dh -out d...
2016-09-26, 5064👍, 0💬

OpenSSL "ans1parse" - RSA Public Key in ASN.1 Structure
How to view the ASN.1 structure of an RSA public key using the OpenSSL "asn1parse" command? You can use the OpenSSL "asn1parse" command to view the ASN.1 structure of an RSA public key as shown in the test below: C:\Users\fyicenter&gt;\loc al\openssl\opensslpkey -in rsa_pri.key -pubout -out rsa_...
2016-09-27, 5057👍, 0💬

< 1 2 3 4 5 6 7 > >>   Sort: Date