SMS_Certificate Server WMI Class
The SMS_Certificate
Windows Management Instrumentation (WMI) class is an SMS Provider server class that contains all of the certificates that are registered to the server.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_Certificate : SMS_BaseClass
{
String Certificate;
Boolean IsApproved;
Boolean IsBlocked;
String IssuedTo;
SInt32 KeyType;
String PublicKey;
String ServerName;
String SMSID;
String Thumbprint;
UInt32 Type;
DateTime ValidFrom;
DateTime ValidUntil;
};
Methods
The SMS_Certificate
class does not define any methods.
Properties
Certificate
Data type: String
Access type: Read/Write
Qualifiers: [large, lazy]
The certification content.
IsApproved
Data type: Boolean
Access type: Read/Write
Qualifiers: None
true
if the certificate is approved.
IsBlocked
Data type: Boolean
Access type: Read/Write
Qualifiers: None
true
if the certificate is blocked. A blocked certificate is rejected by the site database. See the BlockCertificate Method in Class SMS_CertificateInfo.
IssuedTo
Data type: String
Access type: Read/Write
Qualifiers: None
The identity of the client.
KeyType
Data type: SInt32
Access type: Read/Write
Qualifiers: None
The public key type for the certificate. Possible values are:
Value | Key type |
---|---|
1 | self-sign |
2 | issued |
PublicKey
Data type: String
Access type: Read/Write
Qualifiers: [lazy]
Public key of the certificate, which reflects the globally unique SHA-1 hash thumbprint indicated by the Thumbprint
property.
ServerName
Data type: String
Access type: Read/Write
Qualifiers: None
The distribution point server which the distribution point certificate belongs to. For Boot Media and ISVProxy, the value is empty.
SMSID
Data type: String
Access type: Read/Write
Qualifiers: [key]
The GUID used to identify the certificate.
Thumbprint
Data type: String
Access type: Read/Write
Qualifiers: [Lazy]
Hash value of the certificate.
Type
Data type: UInt32
Access type: Read/Write
Qualifiers: None
The type of certificate. Possible values are:
Value | Certificate type |
---|---|
1 | Boot Media |
2 | PXE |
3 | ISVProxy |
ValidFrom
Data type: DateTime
Access type: Read/Write
Qualifiers: None
Date and time when the certificate becomes effective.
ValidUntil
Data type: DateTime
Access type: Read/Write
Qualifiers: None
Date and time when the certificate expires.
Remarks
Class qualifiers for this class include:
Read (read-only)
For more information about both the class qualifiers and the property qualifiers that are included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
BlockCertificate Method in Class SMS_CertificateInfo
SMS_PXECertificateInfo Server WMI Class
Task sequence overview
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for