mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:10:50 +08:00 
			
		
		
		
	Fix code example for SSL Errors (#780)
DangerousAcceptAnyServerCertificateValidator has to be set to "true" to disable certification validation, not "false".
This commit is contained in:
		
				
					committed by
					
						
						Marcelo Castagna
					
				
			
			
				
	
			
			
			
						parent
						
							faaabbe7a7
						
					
				
				
					commit
					292c30fd8f
				
			@@ -219,6 +219,6 @@ If you want to ignore SSL warnings / errors set the following in your ReRoute co
 | 
			
		||||
 | 
			
		||||
.. code-block:: json
 | 
			
		||||
 | 
			
		||||
    "DangerousAcceptAnyServerCertificateValidator": false
 | 
			
		||||
    "DangerousAcceptAnyServerCertificateValidator": true
 | 
			
		||||
 | 
			
		||||
I don't recommend doing this, I suggest creating your own certificate and then getting it trusted by your local / remote machine if you can.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user