SaveCertificate Method
Saves the current certificate to a file.
Object Oriented Interface
public function doSaveCertificate($filename);
Procedural Interface
ipworksssh_certmgr_do_savecertificate($res, $filename);
Remarks
This method will save the current certificate to a file. The certificate is saved in base64 (PEM) format to the file specified by FileName. If the file exists, it is overwritten.
Note: This does not include the private key. To export a certificate with the private key, use ExportCertificate.