File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313        shell : bash 
1414        run : | 
1515          ./target/debug/cosock-test-server & 
16-           sleep 1 
1716          SERVER_PID=$! 
17+           sleep 1 
1818          curl http://127.0.0.1:8080/delay/3 
1919          kill $SERVER_PID 
2020name : install certs 
@@ -27,15 +27,15 @@ jobs:
2727            -nodes \ 
2828            -out cert.pem \ 
2929            -keyout key.pem \ 
30-             -subj "/C=US/ST=MN/L=Minneapolis/O=cosock/" \ 
30+             -subj "/C=US/ST=MN/L=Minneapolis/O=cosock/CN=cosock/ " \ 
3131          && sudo cp cert.pem /usr/local/share/ca-certificates \ 
3232          && sudo update-ca-certificates 
3333name : run-with-tls 
3434        run : | 
3535          ./target/debug/cosock-test-server 8443 . & 
36-           sleep 1 
3736          SERVER_PID=$! 
38-           curl https://127.0.0.1:8443/delay/3 
37+           sleep 1 
38+           curl -k https://127.0.0.1:8443/delay/3 --cacert ./cert.pem 
3939          EXIT_CODE=$? 
4040          kill $SERVER_PID 
4141          exit $EXIT_CODE 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments