1. Summary of information and digital signatureInformation Summary: Processing the data to obtain a fixed length of the results, its characteristics input:1, the output length is fixed. That is, the output length is independent of the input length.2,
About OpenSSL
SSL is an abbreviation for the Secure Socket Layer protocol, which provides covert transmission over the Internet. Netscape Company introduced the SSL protocol standard at the same time as the first web browser, there are
Preface openSSL is a powerful encryption tool. many of us are already using openSSL to create RSA private key or certificate signature requests. However, you can use openSSL to test the computer. speed? You can also use it to encrypt files or
SSL Overview
SSL is securesocketlayer (
SecuritySocket Layer Protocol), which can provide confidential transmission over the Internet. Netscape released the first web browser and put forward the SSL protocol standard, which currently has version 3.0.
After installation, the OpenSSL package will generate three important pieces of content: the encryption librarySSL Related library filesOpenSSL command-line toolsHere's a look at the use of the OpenSSL command-line tool:OpenSSL, like Yum, has dozens
Openssl uses the DSA algorithm to generate a signature instance. This article introduces how to use the DSA algorithm to generate a signature instance based on openssl. the method for generating a signature is simple. it is complicated to understand
Command:
openssl> dgst-dss1-sign c.pri-out Signature.bin s.txt
ExplainC.pri is the private key file generated by the DSA algorithmS.txt is the original of the signature.Signature.bin is the generated signature file
PHP can use the following
Command:
openssl> dgst-dss1-sign c.pri-out Signature.bin s.txt
Explain
C.pri is the private key file generated by the DSA algorithm
S.txt is the original of the signature.
Signature.bin is the generated signature file
PHP can use the following
Simple use of OpenSSL to generate secret keys
To add SSL to servers such as Postfix and Apache, enhance the security factor,
You need to use certificate (certificate). This certificate can be obtained from the official ca.
Or you can generate one
OpenSSL is an open source project that consists mainly of three components:
OpenSSL: Multi-purpose command-line tools
Libcrypto: Cryptographic Algorithm Library
LIBSSL: Encryption module application library for SSL and TLS
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.