How do I create this look in Illustrator: black single-pixel outer border, brighter inner single-pixel border? Example:

I've tried adding a black one-pixel path to white border in Illustrator but it ends up looking like this - not crisp:

I'd prefer to implement it in Illustrator, but please advise Photoshop solutions if you believe it's not possible in Illustrator.

