I'm having trouble in understanding Neukirch's proof of the proposition in the title ((12.6), p. 75 of his Algebraic Number Theory book). He uses the following CRT-like proposition:
If $\mathfrak{a}\neq 0$ is an ideal of $\mathcal{O}$, then $\mathcal{O}/\mathfrak{a}\cong \bigoplus_\mathfrak{p} \mathcal{O}_\mathfrak{p}/\mathfrak{a}\mathcal{O}_\mathfrak{p}$.
To prove the surjectivity of the map $\mathfrak{a}\mapsto (\mathfrak{a}_\mathfrak{p})$ he sets $\mathfrak{a}=\bigcap_\mathfrak{p} a_\mathfrak{p}\mathcal{O}_\mathfrak{p}$ for a given choice of the $a_\mathfrak{p}$'s in $K^*$ (almost all equal to 1) and proves that $\mathfrak{a}$ is a fractional ideal.
Then, in order to prove that $\mathfrak{a}\mathcal{O}_\mathfrak{p}=a_\mathfrak{p}\mathcal{O}_\mathfrak{p}$, he fixes a prime ideal $\mathfrak{p}$ and chooses $c\in\mathcal{O}\setminus\{0\}$ such that $ca_\mathfrak p^{-1}a_\mathfrak q\in\mathcal{O}_\mathfrak{q}$ for all $\mathfrak{q}$. He applies the stated proposition to find an $a\equiv c\pmod{\mathfrak{p}}$ such that $a\in ca_\mathfrak p^{-1}a_\mathfrak q\mathcal{O}_\mathfrak{q}$ for all $\mathfrak{q}\neq\mathfrak{p}$.
(1) To which ideal is he applying the proposition?
(2) He then deduces that $ac^{-1}$ is a unit in $\mathcal{O}_\mathfrak{p}$ but I can't see why ($a\equiv c\pmod{\mathfrak{p}}$ is not sufficient).
PS: In the proof of the CRT-like proposition the author says that the fact that $\mathfrak{p}$ is the only prime ideal containing $\mathcal{O}\cap\mathfrak{a}\mathcal{O}_\mathfrak{p}$ follows directly from the standard correspondence for prime ideals in a localization, but I was able to deduce it only by appealing to the primary decomposition. Am I missing something?