EVPKey::GenerateCSR (open)
Generate a PEM-encoded certificate request
Syntax
LOADLIB "wh::crypto.whlib";
STRING FUNCTION GenerateCSR(RECORD ARRAY nameparts, STRING altnames)Parameters
RECORD ARRAY namepartsThe identification properties
STRING fieldThe property name (e.g. "C", "ST", "L", "O", "CN" or "OU")
STRING valueThe property value
STRING altnamesAlternative hostnames (e.g. "DNS:www.example.com, DNS:www.example.net, DNS:www.example.org")
Return value
STRINGThe PEM-encoded certificate request