Define a SQL Server Certificate
Use the SQL Server Certificate Editor to define the attributes for a security key in a SQL Server physical model.
To define a SQL Server certificate
- Right-click Certificates in the Model Explorer and click New.
A new certificate appears with a default name.
 - Right-click the new certificate and click Properties.
The SQL Server Certificate Editor opens.
 - Select the certificate in the Navigation Grid that you want to define and work with the following options:
Click New
 on the toolbar to create a certificate. Use the Enter filter text box to filter a large list of certificates to locate the one that you want to define.- Name
 Displays the certificate name. You can change the certificate name in this field.
- Authorization
 Specifies the name of the user that owns the certificate. Select a name from the drop-down list.
- Database
 Specifies the database to which the certificate is attached.
- Generate
 Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
 - Click the General tab and work with the following options:
- Certificate Options
 - Certificate Subject
 Defines text that refers to a field in the metadata of the certificate as defined in the X.509 standard.
- Start Date
 Defines the start date of when the certificate becomes valid.
- Expiration Date
 Defines the certificate expiration date.
- Active for Begin Dialog
 Specifies to make the certificate available to the initiator of a Service Broker dialog conversation.
- Has Private Key
 Specifies whether you want to use the private key of the certificate. Specify this value only if you want to create the certificate from a file.
- Assembly Options
 - Assembly
 Specifies the assembly to use. Select an assembly from the drop-down list.
Click New
 to open the SQL Server Assembly Editor to add an assembly.- File Options
 - Executable File
 Specifies an executable name property to indicate the complete path to a DER-encoded file that contains the certificate.
Click New
 to open the SQL Server File Editor to add a new executable file type.- Private Key File
 Specifies the private key file path.
Click New
 to open the SQL Server File Editor to add a file type.- Binary Options
 - Certificate Binary
 Specifies the certificate in the binary format. If the certificate has a private key, the binary must not include the private key. Convert the certificate from binary to hexadecimal and enter the hexadecimal number in this field.
- Private Key Binary
 Specifies the private key of the certificate in the binary format. Convert the private key from binary to hexadecimal and enter the hexadecimal number in this field.
 - Click the Permission tab to define the permissions for the certificate.
 - (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
 - (Optional) Click the Where Used tab to view where the object is used within the model.
 - (Optional) Click the UDPtab to work with user-defined properties for the object.
 - (Optional) Click the Notestab to view and edit user notes.
 - (Optional) Click the Extended Notes tab to view or edit user notes.
 - Click Close.
The certificate is defined and the SQL Server Certificate Editor closes.
 
| 
                                                             
 Copyright © 2023 Quest Software, Inc.  |