Not bio dad on birth certificate

I am not my son’s bio dad. His mom and I started dating when she was 5 months pregnant. I am not the bio dad. I am listed on the birth certificate as the father. We decided to do it this way instead of adoption. Do i have any legal rights. We have a parenting agreement of shared physical custody. Mom retains legal custody. Do i have any right to seek legal custody.