I need to provide a certificate to
stream_socket_client(); while making a connection. It seems I need to provide a
fullchain or combinaiton of
lets-encrypt so my keys are located in
/etc/letsencrypt/archive/domain/, but there are symlinks in
I got the connection working by manually concatenating cert files and copying newly formed
fullchain into my php working directory:
I’m sure that’s not the proper way of doing things. Once my
letsencrypt cert renews I’ll need to do the concatenation and file copying all over again. What is the actual proper way of creating and using a
fullchain cert in this case?
PS, I also asked this on ServerFault, if anyone is interested in answering there.