means upload() now reads a row with no private key, so an upload that leaves out certificate_key wipes the stored key and writeCustomCert writes undefined to privkey.pem.