final fixes with pem/pub/conf