Article title: Introduction to OpenSSl. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In linux, we often see a package called openssl-x.x.rpm, maybe many people think it is related to ssl, right! However, it is far from complete. openssl not only implements some ssl interfaces, but also covers the contents from the underlying symmetric and asymmetric encryp
cryptographic algorithms, authenticate each other, and use public key cryptography to generate shared secrets.
See
3. Create a TLS/SSL server
Use SSL for most commercial Web server products. Ssleay uses several cryptographic algorithms, some of which may require a commercial license. The Ssleay implements 5 different algorithms: DES, RSA, RC4, Idea, and Blowfish. RSA's patents belong to the United States.
Crypto_set_locking_callback () is available in all versions of Ssleay and openssl.undefined symbol:crypto_set_locking_cal The correct workaround for Lback is to specify the path to SSL at compile time.
Compile LNMP new environment material process, source code compiled after installing curl, found a lot of calls to the Curl library file where the error.For example, inadvertently executed the Yum installation command, found the following error, py
installing webmin, the system must have Perl support. If ssl is enabled, openssl and perl-net-ssleasy must be supported.
Ii. Check module:
[root@localhost~]#rpm-qa|grepperl
mod_perl-2.0.2-6.1
perl-Net-SSLeay-1.32-1.el5.rf
perl-5.8.8-10
perl-BSD-Resource-1.28-1.fc6.1
perl-DBI-1.52-1.fc6
perl-DBD-MySQL-3.0007-1.fc6
perl-String-CRC32-1.4-2.fc6
[root@localhost~]#rpm-qa|grepopenssl
openssl-0.9.8b-8.3.el5
Iii. Installation
Modifying the environment variables of the system
vmware-install.pl agent issues appearing in theHttp_proxy=xxxxxFtp_proxy=xxxxxAdd HTTP, FTP environment variables to BASHRC or profile so that they can be used in global.Export http_proxy= # #保持空值, don't fill anythingExport ftp_proxy= # #这样设置就是当前的session会话有效果而已, if you want global to function, add it to/ETC/BASHRC or/etc/profile.Vim/etc/bashrc#在最后面加入export这两行Export http_proxy=Export ftp_proxy=After source, make it effective immediately:Sourc
authentication and encryption can be negotiated through the SSL handshake protocol.
· The SSL handshake protocol is used to exchange version numbers, encryption algorithms, and (mutual) identity authentication and key exchange. SSLv3Provides the Deffie-Hellman Key Exchange algorithm, RSA-based key exchange mechanism, andSupported by the key exchange mechanism on Fortezza chip.
Netscape has released the SSL reference implementation (SSLref) to the public ). Another free SSLThe implementation is
Password again: -The Perl Ssleay Library isNot installed. SSL not available.WuyiStart Webmin at boot time (y/N): Y the*********************************************************************** - Creating Web server config files . Wu .. Done - About Creating access Control file : $ .. Done - - Inserting path to perl into scripts . - .. Done A + Creating start and stop scripts . the .. Done - $ Copying config files . the .. Done the the configuring W
security services.
1.2 OpenSSL
OpenSSL is a well-known open-source implementation of SSL, which is implemented in C language.
The predecessor of OpenSSL is ssleay, an open-source SSL implementation developed by Eric Young. It supports SSLv2, V3, and tlsv1.
With the popularization of the SSL protocol, OpenSSL is widely used in TCP/socket-based network programs, especially the combination of OpenSSL and Apache. It is a typical configuration of many e-c
years ago, he told me aboutThe problem is almost the same!And provides detailed analysis, causes, and solutions for this problem.
In the reason section, he wrote:
CAUSE ----- This was caused by PHP picking up the wrong versions of libeay. dll and ssleay. dll, which were present in multiple locations on my computer.
When any application attempts to use a dll file in windows, the system searches for this file using the following order:
The
SendMail send tls, sendmail send tls
This sendMail is a script written in perl.You can view its help information.
[root@ST fupeng]# ./sendEmail sendEmail-1.56 by Brandon Zehm
Basically, this help information is very detailed.
The following is an example of two emails.Eg1, no encrypted email
-F is the sender's email address.-T is the recipient's mailbox
[Work @ ST fupeng] $/home/work/fupeng/sendEmail-f data_mail@126.com-t 'fupeng @ 126.com '-s smtp.qiye.163.com-u "Baiying download"-xu data_mail
Download RPM Package: http://rpm.pbone.net/Select simple rpm Search (version)Enter the RPM package you are looking for.Download RPM Package[Email protected] ~]# wget ftp.pbone.net python-pip-0.8-1.1.noarch.rpmwget> is the download command, followed by the RPM software package, you can download the RPM package for installation1. Install > Unpack the software from the package and install to the hard driveInstall the Webmin tool, Webmin is currently the most powerful Web-based UNIX System Managemen
1. download Webmin RPM package to the official website http://www.webmin.com/ to download the latest version of the RPM format webmin # wget http://ufpr.dl.sourceforge.net/project/webadmin/webmin/1.801/webmin-1.801-1.noarch.rpm 2. Installing Webmin #yum-y install OpenSSL perl perl-net-ssleay perl-io-tty Perl-crypt-ssleay # RPM-IVH webmin-1.801-1.noarch.rpm 3. webmin service # service
Modifying the environment variables of the system
vmware-install.pl agent issues appearing in theHttp_proxy=xxxxxFtp_proxy=xxxxxAdd HTTP, FTP environment variables to BASHRC or profile so that they can be used in global.Export http_proxy= # #保持空值, don't fill anythingExport ftp_proxy= # #这样设置就是当前的session会话有效果而已, if you want global to function, add it to/ETC/BASHRC or/etc/profile.Vim/etc/bashrc#在最后面加入export这两行Export http_proxy=Export ftp_proxy=After source, make it effective immediately:Sourc
Tags: deploying Zabbix monitoring MySQL (iii) MPM plugin introduction and DeploymentMPM Plug-in deployment1. Installing the relevant Perl module for MPM dependenciesRelated dependencies required to install MPM: [For insurance purposes, the agent side also installs the following dependency package]# yum-y Install Perl-file-which perl-libwww-perl perl-digest-sha1 perl-dbd-mysql perl-time-hires Perl-Crypt-SSLeay# yum-y Install Perl-file-which perl-libww
Production environment:Operating system: CentOS6.7webmin:webmin-1.7 -Production tasks: Upgrade Webmin to version 1.760[Email protected] skyboy]# Rpm-uh webmin-1.760-1.noarch.rpm-uh: Unknown option[Email protected] skyboy]# RPM-UVH webmin-1.760-1.noarch.rpmPreparing ... ########################################### [100%]1:webmin ########################################### [100%]Webmin install complete. You can now login to Http://sky9896:10000/As root with your root password.#以上安装过程, be aware of
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.