It is okay to have a retirement certificate, but usually, the retired military preferential treatment certificate is specially designed for retired military personnel to enjoy relevant preferential treatment policies. If all the class needs is proof of your veteran status, then a mere certificate of discharge may be sufficient. However, this may depend on the specific requirements of the class and it is best to check directly with the responsible person to confirm.