Fixes for upstream
This commit is contained in:
@@ -166,8 +166,18 @@ class Model_Service_Plugin_SSL extends Model_Service_Plugin {
|
||||
$this->save();
|
||||
|
||||
return TRUE;
|
||||
} else
|
||||
} else {
|
||||
print_r(array(
|
||||
'csr'=>$this->csr,
|
||||
'ca'=>$this->ssl_ca->sign_cert,
|
||||
'capk'=>$this->ssl_ca->sign_pk,
|
||||
'days'=>$this->service->product->plugin()->days,
|
||||
'ssl'=>$ssl_conf,
|
||||
'x509e'=>$this->service->product->plugin()->extensions
|
||||
));
|
||||
|
||||
throw new Kohana_Exception('Error Creating SSL Certificate :error',array(':error'=>openssl_error_string()));
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user