When a Directory Server instance is first created, it contains a default self-signed certificate. A self-signed certificate is a public and private key pair, where the public key is signed by the private key. A self-signed certificate is valid for 24 months.
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.