The simple answer is that you just need to know enough about a subject, and have the knowledge and skills to teach your students. You can create an online course without being a certified professional or an expert.