I was having a problem with codesigning my apps, so I deleted all the keys from the keychain. Then I went to Certificate Assistant => Request a certificate from a Certif
Go to the "Certificates" section and select "Apple Worldwide Developer Relations Certification Authority" before requesting a certificate.