  Single-photon entanglement is a peculiar type of entanglement in which two or
more degrees of freedom of a single photon are correlated quantum-mechanically.
Here, we demonstrate a photonic integrated chip (PIC) able to generate and
manipulate single-photon path-entangled states, using a commercial red LED as
light source. A Bell test, in the Clauser, Horne, Shimony and Holt (CHSH) form,
is performed to confirm the presence of entanglement, resulting in a maximum
value of the CHSH correlation parameter equal to $2.605 \pm 0.004$. This allows
us to use it as an integrated semi-device independent quantum random number
generator able to produce certified random numbers. The certification scheme is
based on a Bell's inequality violation and on a partial characterization of the
experimental setup, without the need of introducing any further assumptions
either on the input state or on the particular form of the measurement
observables. In the end a min-entropy of $33\%$ is demonstrated.
