Skip to main content

SSL Storage Change in cPanel 68

Comments

5 comments

  • cPanelLauren
    Hi @sparek-3 We did move to a SQLite storage format for this. The following shows the tables within that database sqlite> .databases seq name file --- --------------- ---------------------------------------------------------- 0 main /var/cpanel/ssl/apache_tls/.index.sqlite 1 temp sqlite> .tables metadata vhost_certificates sqlite>
    I also confirmed that rebuilding the installed SSL db with /usr/local/cpanel/scripts/rebuildinstalledssldb does indeed update /var/cpanel/ssl/apache_tls/.index.sqlite where /var/cpanel/ssl/installed/ssl.db is not being updated. Thank you,
    0
  • sparek-3
    I suppose the better solution would be to use the fetch_ssl_vhosts API call. This will retrieve information from the database, regardless of which storage mechanism is being used. I never thought to check on an API call for this.
    0
  • cPanelLauren
    Hi @sparek-3 Being unaware of what you're doing I am sorry I didn't recommend that before. That would be the more advisable solution - the likelihood of the API for that changing is much less than the storage method, though now with SQLite I don't believe it will be changing in the near future either way.
    0
  • sparek-3
    No worries, this is something I should have thought of before posting. All is good now.
    0
  • cPanelLauren
    Either way, happy to hear that you found a solution! Thanks!
    0

Please sign in to leave a comment.