Fix certificate create
This commit is contained in:
@@ -628,7 +628,8 @@ function CA_create_cert($cert_type='email',$country,$province,$locality,$organiz
|
|||||||
$cmd_output[] = "infile: $usercert keyfile: $userkey outfile: $userpfx";
|
$cmd_output[] = "infile: $usercert keyfile: $userkey outfile: $userpfx";
|
||||||
// Need to check this password thing
|
// Need to check this password thing
|
||||||
//exec(PKCS12." -export -in '$usercert' -inkey '$userkey' -certfile '$config[cacert_pem]' -caname '$config[organization]' -out '$userpfx' -name $friendly_name -nodes -passout pass: 2>&1", $cmd_output, $ret);
|
//exec(PKCS12." -export -in '$usercert' -inkey '$userkey' -certfile '$config[cacert_pem]' -caname '$config[organization]' -out '$userpfx' -name $friendly_name -nodes -passout pass: 2>&1", $cmd_output, $ret);
|
||||||
} exec(PKCS12." -export -in '$usercert' -inkey '$userkey' -certfile '$config[cacert_pem]' -caname '$config[organization]' -out '$userpfx' -name $friendly_name -nodes 2>&1", $cmd_output, $ret);
|
exec(PKCS12." -export -in '$usercert' -inkey '$userkey' -certfile '$config[cacert_pem]' -caname '$config[organization]' -out '$userpfx' -name $friendly_name -nodes 2>&1", $cmd_output, $ret);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#Unlock the CA database
|
#Unlock the CA database
|
||||||
|
Reference in New Issue
Block a user