Find all files with the extension ".conf" and use xargs to run the sed command to remove any leading or trailing whitespace from the files.
find -name "*.conf" | xargs sed -i -e 's/^[ \t]*//;s/[ \t]*$//'