Script to create chain of intermediate CAs