// Scott Bld

use [master]
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'P@ssw0rd'

--DROP CERTIFICATE [Scott Bld]

CREATE CERTIFICATE [Scott Bld]
With Subject = 'Scott Bld'

BACKUP CERTIFICATE [Scott Bld] 
TO FILE = 'C:\ScottBld\ScottBld.crt'

select * from sys.certificates


select * from sys.endpoints
