Sorry, I must have misunderstood you. When you said:
While going through all the KDC related files, I came across all the files
which get created while the kdc database was created for the first time.
I was wondering is there any way to restore the master key using either the
stash file? or either
A couple points:
Great that it has worked for you. I never thought of this way. But, I was not
able to take the dump from the database (principal) file. Maybe I cannot take
the dump as the master principal (K/M) is already deleted.
I was not able to proceed beyond this step.
Same for me in 1.17.