Created on 
    
	
		
		
		12-07-2021
	
		
		01:29 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  Edited on 
    
	
		
		
		02-05-2024
	
		
		04:48 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 By  
				
		 Jean-Philippe_P
		
			Jean-Philippe_P
		
		
		
		
		
		
		
		
	
			 
		
| Description | This article describes how to successfully add a certificate on FortiPortal to configure remote SSO authentication. | 
| Scope | When configuring SSO remote authentication FPC complains the certificate is not valid, the following error message is displayed: 
 'Invalid Certificate: Need Base64 encoded'. 
 | 
| Solution | The solution is to remove '-----BEGIN CERTIFICATE-----' and '-----END CERTIFICATE-----' and to make it one line. | 
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.