How to bottle your own homemade salad dressing
To can foods safely, you should always use a tested recipe. You can find safe recipes for most things on the site of the National Center for Home Food Preservation or on the Ball Jars canning site. 

Sources like this recommend against trying to can your own flavored vinegar or flavored oil ... one could safely assume they would thus recommend against home canning of vinegar and oil. 

I think this article is a helpful Q&amp;A explaining why it's not recommended (or safe!) to create and can your own recipes - 
http://nchfp.uga.edu/publications/nchfp/factsheets/heatprocessingbackgrounder.html