I'm trying to show that a ring $R$ is a unique factorization domain $\iff$ every prime minimal over a principal ideal is also principal.
I think the idea is to use the principal ideal theorem of Krull, but I don't know how to connect principal ideal properties with unique factorization domain properties. I know that "principal ideal domain $\implies$ unique factorization domain", which helps me if I prove $R$ is principal from the second statement, but that is as far as I can go right now.
PS: assume $R$ is a commutative ring with unity.
Thanks.