安装tomcat的native-1.2.7遇到openssl版本提示问题
2016-06-22 12:37
573 查看
1,安装tomcat的native-1.2.7遇到openssl版本提示问题
tomcat/bin/tomcat-native-1.2.7-src/native
# ./configure --with-apr=/usr/local/apr --with-java-home=/usr/bin/jdk
checking for gcc option to accept ISO C89... none needed
checking for OpenSSL library... using openssl from /usr/lib and /usr/include
checking OpenSSL library version >= 1.0.2...
Found OPENSSL_VERSION_NUMBER 0x10000003 (OpenSSL 1.0.0 29 Mar 2010)
Require OPENSSL_VERSION_NUMBER 0x1000200f or
greater (1.0.2)
configure: error: Your version of OpenSSL is not compatible with this version of tcnative
2,检查主机openssl版本信息
# openssl version -a
OpenSSL 1.0.0-fips 29 Mar 2010
built on: Fri Oct 12 05:52:01 EDT 2012
platform: linux-x86_64
options: bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-Wa,--noexecstack -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM
OPENSSLDIR: "/etc/pki/tls"
engines: aesni dynamic
3,主机安装的rpm包
#rpm -qa |grep openssl
openssl098e-0.9.8e-17.el6_2.2.x86_64
openssl-1.0.0-27.el6.x86_64
openssl-devel-1.0.0-27.el6.x86_64
4,检查安装包情况
#rpm -qil openssl-1.0.0-27.el6.x86_64
Name : openssl Relocations: (not relocatable)
Version : 1.0.0 Vendor: Red Hat, Inc.
Release : 27.el6 Build Date: 2012年10月12日 星期五 17时57分59秒
Install Date: 2013年08月02日 星期五 01时03分30秒 Build Host: x86-008.build.bos.redhat.com
Group : System Environment/Libraries Source RPM: openssl-1.0.0-27.el6.src.rpm
Size : 3768412 License: OpenSSL
Signature : RSA/8, 2013年01月21日 星期一 22时17分57秒, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.openssl.org/
Summary : A general purpose cryptography library with TLS implementation
Description :
The OpenSSL toolkit provides support for secure communications between
machines. OpenSSL includes a certificate management tool and shared
libraries which provide various cryptographic algorithms and
protocols.
/etc/pki/CA
/etc/pki/CA/certs
/etc/pki/CA/crl
5,下载对应openssl1.0.2版本
tomcat/bin/tomcat-native-1.2.7-src/native
# ./configure --with-apr=/usr/local/apr --with-java-home=/usr/bin/jdk
checking for gcc option to accept ISO C89... none needed
checking for OpenSSL library... using openssl from /usr/lib and /usr/include
checking OpenSSL library version >= 1.0.2...
Found OPENSSL_VERSION_NUMBER 0x10000003 (OpenSSL 1.0.0 29 Mar 2010)
Require OPENSSL_VERSION_NUMBER 0x1000200f or
greater (1.0.2)
configure: error: Your version of OpenSSL is not compatible with this version of tcnative
2,检查主机openssl版本信息
# openssl version -a
OpenSSL 1.0.0-fips 29 Mar 2010
built on: Fri Oct 12 05:52:01 EDT 2012
platform: linux-x86_64
options: bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-Wa,--noexecstack -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM
OPENSSLDIR: "/etc/pki/tls"
engines: aesni dynamic
3,主机安装的rpm包
#rpm -qa |grep openssl
openssl098e-0.9.8e-17.el6_2.2.x86_64
openssl-1.0.0-27.el6.x86_64
openssl-devel-1.0.0-27.el6.x86_64
4,检查安装包情况
#rpm -qil openssl-1.0.0-27.el6.x86_64
Name : openssl Relocations: (not relocatable)
Version : 1.0.0 Vendor: Red Hat, Inc.
Release : 27.el6 Build Date: 2012年10月12日 星期五 17时57分59秒
Install Date: 2013年08月02日 星期五 01时03分30秒 Build Host: x86-008.build.bos.redhat.com
Group : System Environment/Libraries Source RPM: openssl-1.0.0-27.el6.src.rpm
Size : 3768412 License: OpenSSL
Signature : RSA/8, 2013年01月21日 星期一 22时17分57秒, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.openssl.org/
Summary : A general purpose cryptography library with TLS implementation
Description :
The OpenSSL toolkit provides support for secure communications between
machines. OpenSSL includes a certificate management tool and shared
libraries which provide various cryptographic algorithms and
protocols.
/etc/pki/CA
/etc/pki/CA/certs
/etc/pki/CA/crl
5,下载对应openssl1.0.2版本
相关文章推荐
- java 基础安装和Tomcat8配置
- Tomcat容器管理安全的几种验证方式
- tomcat动态部署和静态部署
- tomcat连接数设置
- tomcat优化
- Tomcat如何修改执行窗口的标题
- nginx+tomcat实现单ip,多域名,多项目配置,session有效
- solr5.5以上版本在tomcat8下运行
- tomcat开机启动和服务
- tomcat内存配置
- Eclipse的Servers视图中无法添加Tomcat6/Tomcat7
- tomcat
- 修改tomcat默认的编码方式
- Linux下安装Tomcat服务器和部署Web应用
- 20分钟完成linux上安装JDK+TOMCAT+MYSQL
- 使用Maven Cargo 插件管理Tomcat的部署
- unbuntu配置tomcat的startup.sh文件
- Tomcat7调试运行环境搭建与源代码分析
- tomcat如何刷到2000并发
- Tomcat指定特定JDK版本