With Xcode 5, following steps:
1) Remove old certificate from https://developer.apple.com
2) Open XCode – Preferences – Accounts – View Details, then click refresh icon in left-bottom
3) Xcode asks if you want to request a new certificate
Enjoy this simple work