Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How can i replace Openssl1.0.1t with Openssl1.1

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
xuan
Posts: 4
Joined: Mon Aug 29, 2016 3:10 pm

How can i replace Openssl1.0.1t with Openssl1.1
  • Quote

Post by xuan » Thu Sep 08, 2016 4:35 pm

I want to use the chacha20-poly1305 on my website.But i can't update my openssl to the latest version! Who can help
me?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How can i replace Openssl1.0.1t with Openssl1.1
  • Quote

Post by skurudo » Fri Sep 09, 2016 12:48 pm

There was nice guide recently:
viewtopic.php?f=20&t=12522
Top

xuan
Posts: 4
Joined: Mon Aug 29, 2016 3:10 pm

Re: How can i replace Openssl1.0.1t with Openssl1.1
  • Quote

Post by xuan » Sun Sep 11, 2016 3:20 pm

skurudo wrote:There was nice guide recently:
viewtopic.php?f=20&t=12522
Thanks for your answer! But i do as you say step by step,then i meet an error,how can i solve that?

Code: Select all

src/event/ngx_event_openssl.c: In function ‘ngx_ssl_connection_error’:
src/event/ngx_event_openssl.c:1941:21: error: ‘SSL_R_NO_CIPHERS_PASSED’ undeclared (first use in this function)
             || n == SSL_R_NO_CIPHERS_PASSED                          /*  182 */
                     ^
src/event/ngx_event_openssl.c:1941:21: note: each undeclared identifier is reported only once for each function it appears in
objs/Makefile:980: recipe for target 'objs/src/event/ngx_event_openssl.o' failed
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
make[1]: Leaving directory '/usr/local/src/nginx-1.10.1'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How can i replace Openssl1.0.1t with Openssl1.1
  • Quote

Post by skurudo » Wed Sep 14, 2016 12:45 pm

You can try to ask huloza from guide topic
and of course check nginx, I saw messeges like this - https://trac.nginx.org/nginx/ticket/932
Top

xuan
Posts: 4
Joined: Mon Aug 29, 2016 3:10 pm

Re: How can i replace Openssl1.0.1t with Openssl1.1
  • Quote

Post by xuan » Wed Sep 14, 2016 1:13 pm

skurudo wrote:You can try to ask huloza from guide topic
and of course check nginx, I saw messeges like this - https://trac.nginx.org/nginx/ticket/932
Thanks for your answer,the error is caused by a bug in nginx. On 13th SEP NGINX1.11.4 had released and the error has been solved.

Code: Select all

Changes with nginx 1.11.4                                        13 Sep 2016

    *) Feature: the $upstream_bytes_received variable.

    *) Feature: the $bytes_received, $session_time, $protocol, $status,
       $upstream_addr, $upstream_bytes_sent, $upstream_bytes_received,
       $upstream_connect_time, $upstream_first_byte_time, and
       $upstream_session_time variables in the stream module.

    *) Feature: the ngx_stream_log_module.

    *) Feature: the "proxy_protocol" parameter of the "listen" directive,
       the $proxy_protocol_addr and $proxy_protocol_port variables in the
       stream module.

    *) Feature: the ngx_stream_realip_module.

    *) Bugfix: nginx could not be built with the stream module and the
       ngx_http_ssl_module, but without ngx_stream_ssl_module; the bug had
       appeared in 1.11.3.

    *) Feature: the IP_BIND_ADDRESS_NO_PORT socket option was not used; the
       bug had appeared in 1.11.2.

    *) Bugfix: in the "ranges" parameter of the "geo" directive.

    *) Bugfix: an incorrect response might be returned when using the "aio
       threads" and "sendfile" directives; the bug had appeared in 1.9.13.
Anyhow thank you a lot.
Top

duy13
Posts: 13
Joined: Wed Jul 06, 2016 2:53 am

Re: How can i replace Openssl1.0.1t with Openssl1.1
  • Quote

Post by duy13 » Wed Sep 21, 2016 2:00 am

Code: Select all

yum -y install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed
Install openssl-1.0.2h

Code: Select all

cd /usr/local/
wget -c https://www.openssl.org/source/openssl-1.0.2h.tar.gz
tar xf openssl-1.0.2h.tar.gz -C /usr/local/
rm -f openssl-1.0.2h.tar.gz
cd /usr/local/openssl-1.0.2h
 ./config
 make depend
 make
 make test
 make install
 mv /usr/bin/openssl /usr/bin/openssl_1.0.1e
 ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
 openssl version
Install openssl-1.0.2h with nginx

Code: Select all

wget http://nginx.org/download/nginx-$nginxversion.tar.gz
tar -xzvf nginx-$nginxversion.tar.gz
cd nginx-$nginxversion/
./configure xxxxx --with-openssl=/usr/local/openssl-1.0.2h
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password