rget.files[0];
            layer.load(0, {shade:0.1});
            var that = this;
            that.cert = '';
            var reader = new FileReader();
            reader.onload = () => {
                layer.closeAll();
                var cert = reader.result;
                if(cert.indexOf('BEGIN CERTIFICATE') == -1){
                    layer.alert('证书文件错误', {icon: 5});return;
                }
                that.cert = cert;
            };
            reader.onerror = ()