您的位置:首页 > 运维架构 > Tomcat

安装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版本
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: