Symptoms
When attempting to generate a CSR, an error similar to the following is received:
Sorry, there was a problem generating the key. The system failed to create the temporary file "/path/to/temporary/file" because of an error: Read-only file system
Description
This is caused by the temporary file failing to generate at the given path (most commonly /tmp or /var/tmp) due to it being mounted as read-only. This can be caused by delibrately setting the read-only option in fstab or when manually mounting /tmp. However, this can also be caused by your system setting the partition to read-only when file system errors are detected to prevent further corruption.
Workaround
We have some great information on re-mounting the partition as read-write in our article here: