Skip to content

Make test "CURLOPT_SSL* basic client auth tests [ext/curl/tests/curl_setopt_ssl.phpt]" failed  #12235

@Asanatsa

Description

@Asanatsa

Description

Configure argument:

./configure --with-apxs2 --enable-zts --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --enable-exif --with-ffi --enable-ftp --enable-gd --with-external-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-gettext --with-imap --with-kerberos --with-imap-ssl  --enable-mbstring --with-mysqli --enable-soap --with-zip --with-iconv=/usr/local/bin/

Resulted in this output:

/root/php-8.2.10/ext/curl/tests/curl_setopt_ssl.phpt                                                    
================================================================================                        
case 1: client cert and key from string                                                                 
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 56                                                                                          
                                                                                                        
case 2: empty client cert and key from string                                                           
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 56                                                                                          
                                                                                                        
case 3: client cert and empty key from string                                                           
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 56                                                                                          
                                                                                                        
case 4: client cert and key from file                                                                   
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 58                                                                                          
                                                                                                        
case 5: issuer cert from file
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 77                                                                                          
                                                                                                        
case 6: issuer cert from string                                                                         
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 77                                                                                          
                                                                                                        
case 7: empty issuer cert from string                                                                   
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
bool(true)                                                                                              
client cert subject not in response                                                                     
CURL ERROR: 77                                                                                          
================================================================================                        
--                                                                                                      
     bool(true)                                                                                         
     bool(true)                                                                                         
     bool(true)                                                                                         
006+ client cert subject not in response                                                                
007+ CURL ERROR: 56                                                                                     
006- client cert subject in response                                                                    
                                                                                                        
     case 2: empty client cert and key from string                                                      
     bool(true)
--                                                                                                      
     bool(true)                                                                                         
     bool(true)                                                                                         
     client cert subject not in response                                                                
015+ CURL ERROR: 56                                                                                     
014- CURL ERROR: 58                                                                                     
                                                                                                        
     case 3: client cert and empty key from string                                                      
     bool(true)                                                                                         
--                                                                                                      
     bool(true)                                                                                         
     bool(true)                                                                                         
     client cert subject not in response                                                                
023+ CURL ERROR: 56                                                                                     
022- CURL ERROR: 58                                                                                     
                                                                                                        
     case 4: client cert and key from file                                                              
     bool(true)                                                                                         
     bool(true)                                                                                         
     bool(true)                                                                                         
030+ client cert subject not in response                                                                
031+ CURL ERROR: 58                                                                                     
029- client cert subject in response                                                                    
                                                                                                        
     case 5: issuer cert from file                                                                      
     bool(true)                                                                                         
--                                                                                                      
     bool(true)                                                                                         
     bool(true)                                                                                         
     bool(true)                                                                                         
040+ client cert subject not in response                                                                
041+ CURL ERROR: 77                                                                                     
038- client cert subject in response                                                                    
                                                                                                        
     case 6: issuer cert from string                                                                    
     bool(true)                                                                                         
--                                                                                                      
     bool(true)
     bool(true)                                                                                         
     bool(true)                                                                                         
     bool(true)                                                                                         
050+ client cert subject not in response                                                                
051+ CURL ERROR: 77                                                                                     
047- client cert subject in response                                                                    
                                                                                                        
     case 7: empty issuer cert from string                                                              
     bool(true)                                                                                         
--                                                                                                      
     bool(true)                                                                                         
     bool(true)                                                                                         
     client cert subject not in response                                                                
061+ CURL ERROR: 77                                                                                     
057- CURL ERROR: 83                                                                                     
================================================================================

PHP Version

PHP 8.2.10

Operating System

Debian 11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions