tzssangglass commented on issue #7526:
URL: https://github.com/apache/apisix/issues/7526#issuecomment-1194181107

   And I compiled and installed `curl`, the 7.29.0 that came with the system is 
obsolete and I can't see the SSL handshake details. I installed 7.84.0 and here 
are the installation steps.
   
   1. install openssl to `/opt/openssl`
   ```
   cd /tmp
   
   wget https://www.openssl.org/source/openssl-1.1.1q.tar.gz
   tar zxvf openssl-1.1.1q.tar.gz
   cd openssl-1.1.1q
   mkdir /opt/openssl
   ./config --prefix=/opt/openssl
   make
   make test
   make install
   ```
   
   and the install dir is
   
   ```
   tree /opt/openssl -L 2
   /opt/openssl
   ├── bin
   │   ├── c_rehash
   │   └── openssl
   ├── include
   │   └── openssl
   ├── lib
   │   ├── engines-1.1
   │   ├── libcrypto.a
   │   ├── libcrypto.so -> libcrypto.so.1.1
   │   ├── libcrypto.so.1.1
   │   ├── libssl.a
   │   ├── libssl.so -> libssl.so.1.1
   │   ├── libssl.so.1.1
   │   └── pkgconfig
   ├── share
   │   ├── doc
   │   └── man
   └── ssl
       ├── certs
       ├── ct_log_list.cnf
       ├── ct_log_list.cnf.dist
       ├── misc
       ├── openssl.cnf
       ├── openssl.cnf.dist
       └── private
   
   13 directories, 12 files
   ```
   
   2. install curl
   
   ```
   cd /tmp
   
   wget 
https://github.com/curl/curl/releases/download/curl-7_84_0/curl-7.84.0.tar.gz
   tar zxvf curl-7.84.0.tar.gz
   cd curl-7.84.0
   ./configure --with-openssl=/opt/openssl
   make -j4
   make install
   ```
   
   3. version
   
   ```
   curl --version
   curl 7.84.0 (x86_64-pc-linux-gnu) libcurl/7.84.0 OpenSSL/1.1.1l zlib/1.2.7 
nghttp2/1.48.0 OpenLDAP/2.4.44
   Release-Date: 2022-06-27
   Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap 
ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
   Features: alt-svc AsynchDNS HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM 
NTLM_WB SSL threadsafe TLS-SRP UnixSockets
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to