-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVApplianceSelfSignedCertificate
New-HPOVApplianceSelfSignedCertificate
Create a new appliance Self-Signed Certificate.
New-HPOVApplianceSelfSignedCertificate [-Country] <String> [-State] <String> [[-City] <String>] [-Organization] <String> [-CommonName] <String> [[-OrganizationalUnit] <String>] [[-AlternativeName] <String>] [[-ContactName] <String>] [[-Email] <String>] [[-Surname] <String>] [[-GivenName] <String>] [[-Initials] <String>] [[-DNQualifier] <String>] [[-ApplianceConnection] <Object>] [<CommonParameters>]
Use thid Cmdlet to create or recreate a Self-Signed Certificate for the appliance.
-Country <String>
Aliases [-C]
The country code is a required entry and must contain only two letters.
Aliases | None |
Required? | true |
Position? | 1 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-State <String>
Aliases [-ST, -Province]
The state or province is a required entry, can contain up to 128 characters.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-City [<String>]
Aliases [-L, -Locality]
The city or locality is a required entry, can contain up to 128 characters.
Aliases | None |
Required? | false |
Position? | 3 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Organization <String>
Aliases [-O]
The organization name is a required entry, can contain up to 64 characters.
Aliases | None |
Required? | true |
Position? | 4 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-CommonName <String>
Aliases [-CN]
The common name is a required entry, and can be FQDN/hostname or IPv4/IPv6 address.
Example: "hpov.example.com"
Aliases | None |
Required? | true |
Position? | 5 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-OrganizationalUnit [<String>]
Aliases [-OU]
The entry for the organizational unit name, may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 6 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-AlternativeName [<String>]
Aliases [-SAN]
An optional entry containing additional names that apply to the owner of the certificate, possibly including additional e-mail addresses, DNS names, IP addresses and other identifiers.
Example: "hpov.example.com,hpov,192.168.1.1"
Aliases | None |
Required? | false |
Position? | 7 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ContactName [<String>]
Aliases [-Contact]
The name of the contact person, may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 8 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Email [<String>]
The contact person's email address, which may not exceed 128 characters and is of the format name@domain.
Aliases | None |
Required? | false |
Position? | 9 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Surname [<String>]
Aliases [-Sur]
The contact person's family name, which may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 10 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-GivenName [<String>]
Aliases [-Giv]
The contact person's first name, which may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 11 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Initials [<String>]
The contact person's initials, which may not exceed 20 characters.
Aliases | None |
Required? | false |
Position? | 12 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-DNQualifier [<String>]
The distinguished name qualifier, which further identifies the certificate recipient, which may not exceed 128 characters.
Aliases | None |
Required? | false |
Position? | 13 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ApplianceConnection [<Object>]
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value.
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | None |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this Cmdlet.
System.Management.Automation.PSCustomObject
Object that contains the 'base64data' property of the certificate.
#### RELATED LINKS
- [Install-HPOVApplianceCertificate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Install-HPOVApplianceCertificate)
- [New-HPOVApplianceCsr] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVApplianceCsr)
- [Get-HPOVSslCertificateStatus] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVSslCertificateStatus)
- [Show-HPOVSslCertificate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Show-HPOVSslCertificate)
- [Import-HPOVSslCertificate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Import-HPOVSslCertificate)
-------------------------- EXAMPLE 1 -------------------------- PS C:\> $CSR = @{ >> Country = "US"; >> State = "California"; >> City = "Palo Alto"; >> Organization = "Hewlett-Packard"; >> CommonName = "hpov.example.com"; >> AlternativeName = "hpov.example.com,192.168.1.1,hpov" >> } >> PS C:\> New-HPOVApplianceSelfSignedCertificate @CSR -ApplianceConnection Appliance.domain.com
Generate Self-Signed Certificate for the appliance.
New-HPOVApplianceSelfSignedCertificate
Create a new appliance Self-Signed Certificate.
New-HPOVApplianceSelfSignedCertificate [-Country] <String> [-State] <String> [[-City] <String>] [-Organization] <String> [-CommonName] <String> [[-OrganizationalUnit] <String>] [[-AlternativeName] <String>] [[-ContactName] <String>] [[-Email] <String>] [[-Surname] <String>] [[-GivenName] <String>] [[-Initials] <String>] [[-DNQualifier] <String>] [<CommonParameters>]
Use thid CMDLET to create or recreate a Self-Signed Certificate for the appliance.
-Country <String>
Aliases [-C]
The country code is a required entry and must contain only two letters.
Aliases | None |
Required? | true |
Position? | 1 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-State <String>
Aliases [-ST, -Province]
The state or province is a required entry, can contain up to 128 characters.
Aliases | None |
Required? | true |
Position? | 2 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-City [<String>]
Aliases [-L, -Locality]
The city or locality is a required entry, can contain up to 128 characters.
Aliases | None |
Required? | false |
Position? | 3 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Organization <String>
Aliases [-O]
The organization name is a required entry, can contain up to 64 characters.
Aliases | None |
Required? | true |
Position? | 4 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-CommonName <String>
Aliases [-CN]
The common name is a required entry, and can be FQDN/hostname or IPv4/IPv6 address.
Example: "hpov.example.com"
Aliases | None |
Required? | true |
Position? | 5 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-OrganizationalUnit [<String>]
Aliases [-OU]
The entry for the organizational unit name, may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 6 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-AlternativeName [<String>]
Aliases [-SAN]
An optional entry containing additional names that apply to the owner of the certificate, possibly including additional e-mail addresses, DNS names, IP addresses and other identifiers.
Example: "hpov.example.com,hpov,192.168.1.1"
Aliases | None |
Required? | false |
Position? | 7 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ContactName [<String>]
Aliases [-Contact]
The name of the contact person, may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 8 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Email [<String>]
The contact person's email address, which may not exceed 128 characters and is of the format name@domain.
Aliases | None |
Required? | false |
Position? | 9 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Surname [<String>]
Aliases [-Sur]
The contact person's family name, which may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 10 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-GivenName [<String>]
Aliases [-Giv]
The contact person's first name, which may not exceed 64 characters.
Aliases | None |
Required? | false |
Position? | 11 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Initials [<String>]
The contact person's initials, which may not exceed 20 characters.
Aliases | None |
Required? | false |
Position? | 12 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-DNQualifier [<String>]
The distinguished name qualifier, which further identifies the certificate recipient, which may not exceed 128 characters.
Aliases | None |
Required? | false |
Position? | 13 |
Default value | <none> |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
System.Management.Automation.PSCustomObject
Object that contains the 'base64data' property of the certificate.
#### RELATED LINKS
- [Install-HPOVApplianceCertificate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Install-HPOVApplianceCertificate)
- [New-HPOVApplianceCsr] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/New-HPOVApplianceCsr)
- [Get-HPOVSslCertificateStatus] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVSslCertificateStatus)
- [Show-HPOVSslCertificate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Show-HPOVSslCertificate)
- [Import-HPOVSslCertificate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Import-HPOVSslCertificate)
-------------------------- EXAMPLE 1 -------------------------- PS C:\> $CSR = @{ >> Country = "US"; >> State = "California"; >> City = "Palo Alto"; >> Organization = "Hewlett-Packard"; >> CommonName = "hpov.example.com"; >> AlternativeName = "hpov.example.com,192.168.1.1,hpov" >> } >> PS C:\> New-HPOVApplianceSelfSignedCertificate @CSR
Generate Self-Signed Certificate for the appliance.