Open rmhrisk opened 8 years ago
To add a SAN extension in the "ANY" example it would be similar to this:
var altNames = new org.pkijs.simpl.GENERAL_NAMES({
names: [
new org.pkijs.simpl.GENERAL_NAME({
NameType: 1,
Name: data.dns
})
]
});
extensions.extensions_array.push(new org.pkijs.simpl.EXTENSION({
extnID: "2.5.29.17", // subjectAltName
critical: false,
extnValue: altNames.toSchema().toBER(false)
}));
}
var attribute = new org.pkijs.simpl.ATTRIBUTE({
type: "1.2.840.113549.1.9.14", // pkcs-9-at-extensionRequest
values: [extensions.toSchema()]
});
pkcs10_simpl.attributes.push(attribute);
Right now the form only supports a single host name provided in the subject CN field.
We can support multiple hostnames using Chips (https://material.angularjs.org/latest/demo/chips). Chips would only be created when the value validates as a host name.
This would look something like this:
https://certsimple.com does something similar to this if you want to see an example.
We would use the following logic: First domain name goes into the Subject CN First domain name is used as the file name If the function (for example the ANY function) does not support multiple domain names and multiple were provided it would hide itself.
OpenSSL
F5 BigIP
Java Keytool
IIS
Exchange 2007
Exchange 2010