Implement saving of the certificate chain, making the offline status