Testing Remote TCP/IP Connectivity on IBM i (AS400)

Estimated reading time: 1 mins

Table of contents

call qp2term

Then run

openssl s_client -connect :

instead of

telnet  

as it is not installed in PASE.

openssl s_client -connect google.at:443  
CONNECTED(00000003)                      
:
---                                      
Certificate chain                        
:
---                                      
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256  
Server public key is 2048 bit                            
Secure Renegotiation IS supported                        
:
---            
read:errno=0   
$       
me@somewhere:~$ telnet google.at 443
Trying 216.58.214.67...
Connected to google.at.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
openssl s_client -connect google.at:1234   
:
: ...timeout is about a minute
:
connect: Connection timed out              
connect:errno=78                           
$          
me@somewhere:~$ telnet google.at 4321
Trying 216.58.214.67...
^C
openssl s_client -connect google.at:80                                                           
CONNECTED(00000003)                                                                              
:
---                                                                                              
no peer certificate available                                                                    
---                                                                                              
:
---                                                                                              
New, (NONE), Cipher is (NONE)                                                                    
Secure Renegotiation IS NOT supported                                                            
:
---                            
$          
me@somewhere:~$ telnet google.at 80
Trying 216.58.214.67...
Connected to google.at.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
Posted on: Wed, 08 Aug 2018 15:59:45 +0100 by Markus Neuhold
  • IBM
  • IBM i (AS/400) SysAdmin since 1997, Linux fanboy and loving open source, docker and all about tech and science.