How to supply boundary condition on a surface of a sphere

If you are solving it on a spherical shell, you have no exterior facets (no facet is connected to just one cell), thus there is no natural point to apply a Dirichlet condition to. Then, you get into the issue of your problem being singular. See for instance; Poisson problem with Neumann boundary condition - #6 by dokken