Lately, I've been wondering about a proof of this. Here's my approach.
First I need the following two lemmas; and let $(G,+)$ be a commutative monoid and $0$ be its identity.
Lemma 1: For any $f:X \to G$ and $g:Y \to G$, and $A,B$ finite subsets of $X$ and $Y$ respectively, we have
$$
\sum_{x \in A} f(x) = \sum_{x \in B} g(x)
$$
there always exist a bijection $\sigma : A \to B$, such that $f(x)=g(\sigma(x))$ for all $x \in A$.
Lemma 2: Let be $A$ a finite set, $B_x$ be finite sets for all $x \in A$, and $f_x$ be functions such that $f_x(B_x) \subseteq G$ for all $x \in A$. We have
$$
\sum_{x \in A} \left( \sum_{y \in B_x} f_x(y) \right) = \sum_{(x,y) \in B} f_x(y)
$$
where $B=\{ (x,y) \, : \, x \in A, \, y \in B_{x} \}$.
Proof: Use induction and considering the following facts:
$i) \sum_{x \in \emptyset} f(x) = 0$
$ii) \sum_{x \in A} = f(c)+\sum_{x \in A \backslash \{c\}} f(x)$ for some $c \in A$, $A$ is always a finite non-empty set.
Now let $R$ be a ring, $0$ be its additive identity and consider $R[x]$ as the equivalent definition of the polynomial ring
$$
R[x] = \{\, a \in R^{\mathbb{N}} \, : \, \text{there is exist a} \, n \in \mathbb{N} \, \text{such that} \, a_k=0 \, \text{for all} \, k>n \}
$$
with sum
$$
(a+b)_n = a_n + b_n
$$
and product
$$
(a \cdot b)_n = \sum_{0 \leq k \leq n} a_k b_{n-k}
$$
for all $a,b \in R[x]$ and $n \in \mathbb{N}$.
As $(R[x],+)$ is an abelian group, it's clear that it is a commutative monoid. Now let $a,b,c \in R[x]$. For $n \in \mathbb{N}$ we have
$$
\begin{align}
(a \cdot (b \cdot c))_n &= \sum_{0 \leq i \leq n} a_i (b \cdot c)_{n-i} \\
&= \sum_{0 \leq i \leq n} a_i \left(\sum_{0 \leq j \leq n-i}b_{j}c_{(n-i)-j}\right) \\
&= \sum_{0 \leq i \leq n} \left( \sum_{0 \leq j \leq n-i} a_{i} (b_{j}c_{(n-i)-j} ) \right) \\
&= \sum_{(i,j) \in A} f(i,j)
\end{align}
$$
where
$$
A= \{ \, (i,j) \, : 0 \leq i \leq n,\, 0 \leq j \leq n-i \, \}
$$
and
$$
f(i,j)=a_i(b_jc_{n-(i+j)})\,
$$
this for the second lemma. To the other side
$$
\begin{align}
((a \cdot b) \cdot c)_n &= \sum_{0 \leq i \leq n} (a \cdot b)_i c_{n-i} \\
&= \sum_{0 \leq i \leq n} \left(\sum_{0 \leq j \leq i}a_{j}b_{i-j}\right) c_{n-i} \\
&= \sum_{0 \leq i \leq n} \left(\sum_{0 \leq j \leq i}(a_{j}b_{i-j}) c_{n-i} \right) \\
&= \sum_{(i,j) \in B} g(i,j)
\end{align}
$$
where
$$
B= \{ \, (i,j) \, : 0 \leq i \leq n,\, 0 \leq j \leq i \, \}
$$
and
$$
g(i,j)=(a_jb_{i-j})c_{n-i}
$$
this for the second lemma.
Now consider $\sigma : A \to B$ such that $\sigma(i,j)=(i+j,i)$. We claim that $\sigma$ is a bijection. First, let's show that $\sigma$ is well defined. If $(i,j) \in A$ then $0 \leq i \leq n$ and $0 \leq j \leq n-i$, so $0 \leq i+j \leq n$ y $0 \leq i \leq i+j$, thus $\sigma(i,j) \in B$. If $(i,j) \in B$, we have $0\leq i \leq n$ and $0 \leq j \leq i$, then $0 \leq j \leq n$ and $0 \leq i-j \leq n-j$, so $(j,i-j) \in A$ and $\sigma(j,i-j)=(j+(i-j),j)=(i,j)$, thus $\sigma$ is surjective. If $\sigma(i,j)=\sigma(r,s)$ then $(i+j,i)=(r+s,r)$, so $i=r$ and $j=s$, $(i,j)=(r,s)$, thus $\sigma$ is injective, therefore
$\sigma$ is a bijection; and since
$$
g(\sigma(i,j))=g(i+j,i)=(a_ib_{(i+j)-i})c_{n-(i+j)}= (a_ib_{j})c_{n-(i+j)}=a_i(b_jc_{n-(i+j)})=f(i,j)
$$
then by the first lemma we have
$$
\sum_{(i,j) \in A} f(i,j) = \sum_{(i,j) \in B} g(i,j)
$$
then
$$
(a \cdot (b \cdot c))_n = ((a \cdot b) \cdot c)_n
$$
and finally
$$
(a \cdot (b \cdot c)) = ((a \cdot b) \cdot c)
$$
$$\tag*{$\blacksquare$}$$
I know it, it's a very long proof for something that seems trivial, but at least I'm pleased with the argument.