Im following this tutorial https://help.ubuntu.com/lts/serverguide/certificates-and-security.html#creating-a-self-signed-certificate this works fine in ubuntu 18 but not in ubuntu-core 18.
Im trying to create a CA to sign certs for etcd cluster but receive error cannot create directory read only file system.
user@core-1:~$ sudo mkdir /etc/ssl/CA
mkdir: cannot create directory ‘/etc/ssl/CA’: Read-only file system
Question: Where should the CA be created or how should it be created ?
Linux marks a filesystem as read-only when it discovers errors in the filesystem during mounting.
If the error still persist, you can proceeded with the following solution:
Now it's time to
cut-and-paste
Creating CA in etc/ssl is not yet possible in ubuntu-core, its possible at the app level, not system level. This link from snapcraft forum explains https://forum.snapcraft.io/t/extending-system-certificates/114