Solution to p12 and p11 setup