1. Live in California.
2. Have a California driver’s license or state-issued ID card.
3. Have your current address on your CDL/ID—or bring proof that you live where you say you do. (Utility bill–gas, electricity, water, or cable bill, or your car registration–whichever of these has your current address and your name on it.)
And now, as of January 1, 2014, long-guns are registered with the state, just as handguns are.