X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fsvc_cert.cgi;h=0e6037e3137ed74e549fdaf2566466fbbc996b34;hb=793956b8a0c19d7d39103e94235b0ca13f0f3e84;hp=a8dc0ca8a90eaa424ef90da2b6744146405d7a17;hpb=874ad675da1321638b374d0b574231d7fa577196;p=freeside.git diff --git a/httemplate/edit/process/svc_cert.cgi b/httemplate/edit/process/svc_cert.cgi index a8dc0ca8a..0e6037e31 100644 --- a/httemplate/edit/process/svc_cert.cgi +++ b/httemplate/edit/process/svc_cert.cgi @@ -66,6 +66,14 @@ if ( $cgi->param('privatekey') eq '_generate' ) { #generate $new->certificate( $cgi->param('certificate') ); $new->$_( $old->$_ ) for grep $old->$_, qw( recnum common_name organization organization_unit city state country cert_contact ); +} elsif ( $cgi->param('cacert') ) { + + $popup = 'view'; + $title = 'Certificate authority chain imported'; + + $new->cacert( $cgi->param('cacert') ); + $new->$_( $old->$_ ) for grep $old->$_, qw( recnum common_name organization organization_unit city state country cert_contact ); + } my $error = '';