implement ssl and init build for fixed dir