If you want a 1px dotted border, here is a simple way to do it:
create a check pattern of 2px by 2px. Define it as a pattern.

Now you can use it as pattern of your stroke, like this: (right click your layer, then blending options)

Et voila, a 1px dotted border :). Note: This only works with a 1 px border.